Code cleanup.
Use named routes.
Fixed that deleting the last reply of a topic does not update last_reply_id.
Deprecated :confirm => 'Text' option.
Fills locales (#1006).