Update version of Rails to fix secruity hole

* Took the opportunity to update all gems
* javascript trim method added to template rendering methods as a result of jQuery-rails gem update.