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
Replaced delegator methods with Forwardable def_delegator in Topic
Allow CAS authentication
FIX: Markdown references within a list were not working properly.
Better documentation for new Dialect helpers. Migrated emoticon support to new helper format.
Restructure the app/assets/stylesheets directory
Allow basic emoticons to work too.
FIX: 404 on old thumbnails
Use moment.js in auto close js
remove console.log
FIX: convert error in test
A nicer API for dealing with text replacements in Discourse's parser pipeline
Merge pull request #1394 from ZogStriP/fix-thumbnails

FIX: 404 on old thumbnails
Merge pull request #1395 from ZogStriP/fix-sh-convert-error-in-test

FIX: convert error in test
rename application.css.erb to desktop.css.erb