Code cleanup.
Fixed test failure.
Test failure.
Use named routes.
Fixed that deleting the last reply of a topic does not update last_reply_id.
Deprecated :confirm => 'Text' option.