Fix unit tests post "method_override" query string parameter change

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add RateOptions class for storing query parameters

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Modify SpanGroup to support RateOptions including counter rollover and anomaly
suppression

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add rate options to Query and TsdbQuery

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add rate option parsing to CliQuery

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add rate option parsing and text boxes to the GUI

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Avoid printing Long.MAXVALUE in the counter max box if not provided by user

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add Const.MAX_INT_IN_DOUBLE used to fix the rate calculation bug

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix rate calculation bug where integers greater than 2^53 would return
unexpected difference calculations due to trying to squeeze a massive
integer into a smaller 64 bit Double.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add default empty constructor to RateOptions

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add unit tests for rate options

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add setters to RateOptions for JSON de/serialization as well as some javadocs

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add setTimeSeries() overload to Query and TsdbQuery that will accept RateOptions

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add RateOptions to TSSubQuery and modify TSQuery to pass the options on to
the TsdbQuery object.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Move parseRateOptions() into QueryRpc
Add RateOption parsing to QueryRpc
Fix bug in QueryRpc where the downsampler wasn't being parsed properly
Fix to stop throwing cast exceptions in the GUI when rate options are not
present.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add rate option parsing to GraphHandler