Add auto_tagk and auto_tagv fields to the Config class along with defaults
(to true for both) in preparation for #331.
Create Config.loadStaticVariables() to load the static variables whenever a
config value changes. Now overrideConfig() will reload the statics.
Change setAutoMetric() so that it will update the hash map with the given value
in case users access the config from the GUI and have toggled the flag via CLI.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Modify Tags.resolveAllInternal() to use the new config flags to allow or block
UID assignment for tagks and tagvs. This fixes #331.
Also add unit tests for the UID creation.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add a TSDB constructor with a pre-initialized HBase client.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Add two config options: tsd.mode and tsd.no_diediedie

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
added changes as to make an abstraction layer between the HBaseClient. Now there is another client called HBaseClient that implements the interface Client, maybe work on the naming.... This is just an initial commit as to break it out and see what needs to be done for making TSDB available for Cassandra.
added depricated on the mothod so  that we can see where they occur in compile time
Replace all calls to ensureTableExist(String) with the clients ensureTableExists()
changed shutdown to close in the interface and made the required changes
modified the atmoic operation so that it now resides within the HBaseClient class, quit emessy it will probably have to change in the future