Makes MySQL database.yml work for all environments

The production environment was assumed when determining the database adapter. The .yml template should use the rubber environment.

The original code causes a nill exception when using rubber like this:

`RAILS_ENV=staging ALIAS=staging cap deploy`