Add memcache timeouts

If our memcache server goes away, we don't want to make every request
hang.  Add a 50ms timeout.  Also, track timeouts via expvars.