inject mocked environment to unit test to fix NPE
set origin REST for WRS-based queries
extracted QueryParser from Query to allow it to separate concerns better and allow moving it to whois-client

also removed maximum query word size (queries are already size-limited in netty pipeline)