peg: fix return values, better errors, drop pred
generate: drop pred
parse: fix capability
parse: simplify mailbox-list
parse: fix arguments for string quote
parse: fix message-data keywords
de-spaghetti + add docstrings