Set up memcached access for cache & sessions

/cc @cpapazian