Fix database.yml syntax, make Travis use Ruby 1.8.7