Merge pull request #76 from PatrickDropbox/master

Cleaner implementation of UpdateShardStates + more tests
remove duplicate key from getmulti
fix bug
Merge pull request #78 from fanngyuan/master

remove duplicate key from getmulti