Only load app from Rakefile in production

This should remove the need to specify DATABASE_URL in Travis CI config.