Update TestHttpQuery with refactored code and proper tests
Add api version fields to HttpQuery
Add HttpQuery.getQueryBaseRoute() to calculate what RPC module to route the
request to
Simplify HttpQuery.explodePath()