Support for Rails 4

* add rails4 default gems as development dependencies
* drop support for Rails 3.0.x
* move gems used for developoment and testing to Gemfile
  * (to allow using git url, and to try a new strategy of specifying development gems)