Fixes #31

This is a pretty hefty refactor. I found it easier to understand toml
generation with the majority of the generation code within the
monkey_patch rather than the generator class.
Merge pull request #36 from squaresurf/issue-31

Support array of tables

Fixes #31