Add QueryRpc class for handling timesieres queries
Add TestQueryRpc class for unit tests
Add serializer methods parseQueryV1() and formatQueryV1()