updated Rails version, added page caching

* bumped Rails to 3.2.13
* updated Gemfile.lock
* added dalli and memcache gems for caching
* caching primary pages