Overhaul grammar table.

Borrowed heavily from ruby- and elixir-modes. Obviously this isn't the final solution,
but I do have indentation working for a single form.