Added database.yml.example and added database.yml in gitignore.