Change deploy strategry to cancel precompilation unless assets changed

deploy:assets:precompile takes too long time
Use shared database.yml in production server

I'd like to use database.yml in shared/config/database.yml on the production
server instead of the config/database.yml in this repository.
This Capfile assumes that there is #{deploy_to}/shared/config/database.yml in
the production server.