Move createAndSetTSUIDFilter() from TsdbQuery.java to Internal.java as it will be used by some other functions.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix Annotation.getGlobalAnnotations() to handle millisecond timestamps properly
Add Annotation.deleteRange() to remove local or global annotations for a given
time span.
Fix Annotations to normalize timestamps on second boundaries to 2 bytes instead
of 4 since we want to save space and avoid duplicates. This also allows all of
the functions to accept timestamps in seconds or milliseconds.
Add Annotation.timeFromQualifier() to parse the time from a qualifier given the
base time found in the row key.
Add a bunch of unit tests for the annotation range deletion and regular deletion
as well as the timestamp normalization.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add support for bulk deleting annotations via API. Users can supply a list
of TSUIDs and/or set a "global" flag along with a time range and any notes
found in that range will be purged.
Also add unit tests for the new annotation bulk delete range.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Couple of deferred fixes for older Java compilers

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Merge remote-tracking branch 'remotes/origin/next_lastdp' into next_lastdp