Refactoring Cluster-aware code to be outside of the NodeManager.

Starting the cluster singleton pattern code for the search tree.

Most likely we should have used Riak or some distributed DB, possibly
will update before the talk.