Main point: test-queryTime was repaired
1. Corrected performance test test-queryTime
2. Added a set of useful functions as a separate file
3. Implemented writing part of the extended TSDB API (wrapper), reading part is in implementation stage