Add recipe for managing database

- Manage database.yml file securely.
- Add task to allow user to create application database.
- Fix bug where some tasks would fail trying to access releases that did
  not exist, when run standalone.