Travis cannot run properly because database.yml doesn’t exsist

We cant simply add one (because boxen) but we can add a travis specific one

- fixed missing database.yaml
- added gemfile for Rails 3.2
- added support for ActiveSupport::BufferedLogger deprecation and deletion
- made travis happy