More convenience functions.
Better error reporting.
Added attributes() convenience function.
Rewrote pandoc.lua.

Now you can replace an object with an array, and it will splice in.

Added emptyArray(), emptyObject() convenience functions.