force_encoding according to the charset in mail, this solve encoding problem when not using ‘utf-8’ charset.
Merge pull request #1835 from HerbJiang/master

Fix reply by email encoding error when using non-ASCII & non-UTF8 charset
BUGFIX: remote upload dialog was broken
REFACTOR: Fixes poor class hierarchy for listing topics

- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
Lots of bugfixes

BUGFIX: navigation bar should always activate the right tab (even when diging into a top period)
BUGFIX: /top pages titles
BUGFIX: no "edit category" button on /top page after visiting a category
BUGFIX: properly hide category columns when there is no children category (on both filter + top pages)
BUGFIX: promises not caught when scrolling down a topic list to load more of them
BUGFIX: CSS on category dropdowns
Updated `top_menu` i18n with available filters
fix the specs
BUGFIX: url was overriden when using the back button after visiting a topic
BUGFIX: proper handling of /none subcategory
BUGFIX: display links to other periods at the bottom of the top/:period page
remove duplicated order_with_pinned_sql method
FEATURE: show pinned topics for TL0 on top/year page

BUGFIX: word-wrap on topic-excerpt
changed `topics_per_period_in_top_page` default to 100
Merge remote-tracking branch 'upstream/master'