Revamped Keyspace object and prep for re-resolution of topology for resharding.
Added keyspace_test and small fixes to keyspace module.
Added the keyspace_test to Makefile.
Fixed the constants in tests.