Application recipe should generate a database.yml

The application recipe now generates a database.yml for use in
production on the fly based on the recipes attributes for postgres
database, username and pool size.