Rebase of docWithTypes plus fix

This is a rebase for verbatim and docWithTypes support.
I also found there were several calls to qryMain inside of the gRex class which didn't properly pass "this.OPTS, true"