Add basic batching. Closes #4.

By "basic" I mean it does not support self-referential operations within the context of a single batch. Documentation is also currently non-existent. Working on both of these things immediately.