Changed environment setup order for application, development, production, etc.
Added the [Dalli](https://github.com/mperham/dalli) gem.