Upgraded rails to 4.0.8 and bundle update other gems

Fixes #197