moved do_query from queryaction to new querytools module (as do_action is also called from documentaction when highlighting text)