Move database.yml to an example file
Fix .gitignore database.yml issue