Don't require environment or DB during asset compilation

The default settings cause problems with asset compilation on Heroku and elsewhere -- see https://devcenter.heroku.com/articles/rails-asset-pipeline#troubleshooting -- so I believe this patch will create a more suitable application.rb file.