Moves database.yml to .gitignore and adds an example file.