add checks before database creation
fix some capistrano problems
restructure capistrano setup as seen in railscast
fix some errors