Make the composer and TopicCreator use category id instead of category name

Also fixes #1171
Added backwards compatibility for topic creation
Use Discourse.Resolver to load mobile templates when they exist
Detect whether to use mobile view. Session var mobile_view can override automatic detection.
Create a mobile css manifest
Store mobile flag in Discourse.Session instead of Discourse
Restructure the app/assets/stylesheets directory
rename application.css.erb to desktop.css.erb
Add link in hamburger menu to switch between mobile and desktop views
FIX: Index out of range error

Fixes 'index out of range error' that occurs when viewing a user's
profile page when they haven't yet posted a reply or created a topic
and is @mentioned in a topic.
Add span.btn-text around 'Reply' text in the post menu
Restructure login form for mobile
If mobile view, don't switch to small logo in the header when scrolled down in a topic
fix user_controller_spec when testing too long usernames
refactor spec_helper
Merge pull request #1413 from eparreno/chore/refactor_spec_helper

refactor spec_helper
Select +Replies for bulk operations
When deleting a post as staff, ask if you want to delete direct replies too
Change default of notify_mods_when_user_blocked to false
fix user_controller_spec when testing too long usernames