Remove global mutable state

Puts static KBPQuery fields into "KBPQueryHelper" class.
Replaces calls to KBPQuery.activate with KBPQuery.getHelper