rework Gemfile

Only notable changes are:

* By default install postgres and mysql adapter in development mode
* Move some gems into the production group (which should be installed on development installations too)
* Move some gems from the test group into the development group
* Move some gems into the assets group