Add tsd.core.meta.enable_tsuid_tracking config setting as an efficiency option
over tsd.core.meta.enable_tsuid_incrementing.
Add code to let users choose to PUT a 1 in the TSUID table every time a data
point is written instead of incrementing as an efficiency option for busy TSDs
over TSUID incrementing. AtomicIncrements can quickly OOM a TSD whereas Puts
are much more efficient. The downside is that we can't generate TSMeta objects
in real-time, but a batch scanner can easily handle that. We also don't get a
count of the data points inserted, but we still get the last time a point was
written.
Merge remote branch 'remotes/official/next' into next
Add unit tests for writing negative values and VLE integers through TSDB
Merge remote branch 'remotes/official/next' into next
Fix bug in JSON query that throws a Null pointer exception when a user does
not supply a tags map. TSSubQuery.getTags() will now return an empty map instead
of a null if the tags were not set.
Merge remote branch 'remotes/official/master' into next
fix check_tsd -c/-w options logic

it should fail only if both are None, not the other way around

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
accept HTTP 202 as success

opentsdb v2 returns 202 when asked for datapoints

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Merge remote branch 'remotes/official/next' into next
Add toString() overrides to TSQuery and TSSubQuery for debugging purposes
Catch and handle user input errors in QueryRpc properly when validating the
query. Previously they were being returned as 500s. Also prints out the
query at a debug level.
Fix long integer calculation bug in DateTime.parseDuration()
Fix /api/suggest to return the exact max param values instead of one greater.
Closes #238
Allow for empty query strings in the /api/suggest endpoint so that users can
fetch all metrics/tags
Merge branch 'next' into next_lastdp