Update Ruby and Rails versions

* Remove Ruby 1.8.7 support, add Ruby 2.0.0
* Update Rails version to 4.0.0