Fix Rails 4 asset pipeline issues. Fixes #429.

Made changes per this article:
https://devcenter.heroku.com/articles/rails-4-asset-pipeline

One main cause for the Heroku issues was that the config.serve_static_assets setting in production.rb was set to false during the Rails 4 upgrade.