Refine database.yml template

:fork_and_knife: There should be two configuration options for database.yml. Either configuring with attributes or configuring with data bags this makes those two choices a bit more clear and prevents a bug that causes the chef run to fail when the database databag attribute isn't defined.