Fix failing rollups

This is the same thing that was happening in the MinValue class:

Rollups are occasionally failing in prod because sometimes the var `o`
is an `Integer`, and we try to cast it to be a `Long`. Which fails
of course with a `ClassCastException` exception.

Same fix as in MinValue class: use `val` instead of `o`.
Change the ingestion and query uri structures
Bump the version to v2.0
Merge pull request #335 from chinmay-gupte/chinmay/change_http_uri_structure

Change the HTTP ingestion and query URI formats
Merge pull request #341 from dlobue/failed_rollup_fix_pt2

Fix failing rollups