peg: make sure we don't repeatedly pop off the stack
peg: fix cons
peg: fix error reporting with cons pairs
grammar: add ESEARCH
generate: fix tests