Checkpoint while pulling out hard-coded grammar.

To get water working from this commit, use the commands module
to convert grammar{1,2} to cmd.water files that are read from
parse.py. I will soon add a shell script and probably directly
check in the cmd.water files, although they are derived files.