update rails to 4.1.0
add some factories and model tests
remove unnecessary created_at from topic factory
Add first front-end qunit test and run it with testem

To use testem:
  - npm install -g testem
  - bundle exec rails s
  - testem