Update sessions and cache to memcached

Summary:
Session cache config

update variables from config

fix core

ruby error

proper cake and memcache

Test Plan: working on stage

Reviewers: #everyone

Differential Revision: https://dev.blendtec.com/D1517