Tweak parser entry point for pq

Previously pq used pattern1 which required parens to be used in
alternative pattern. This commit tweaks it to allow pq"a | b"
syntax. Also adds some tests for alternative syntax.
Merge pull request #3505 from densh/topic/pq-entry

Tweak parser entry point for pq""