Extract rowKeyTemplate into TSDB and make it an instance method
Fix tests in TestTsdbQuery
Update tests for TsdbQueryDownsample
Remove the less invasive powermock stuff
Convert more tests to using pure mockito instead of powermock
Corrected a typo so that the test dont fail.