QueryBuilder now triggers a finalizeQuery event after the query is
'ready'
Passes query to filter methods
Several fixes