Use xxHash for memcached nodeLocator; many refactorings and bug fixes