Fix memcache shard (un)registration.
add unregister test.
use set
Merge pull request #76 from PatrickDropbox/master

Cleaner implementation of UpdateShardStates + more tests