Add DocumentApi::undoEnabled()

Now we can disable the undo information in DocumentApi() passing
a NULL undoers collection on its ctor.
Simple implementation of issue #17 - Export animation to JSON/sprite sheet files

This is a good start point. From here we can add more formats and options
(XML, custom formats, templates, etc.), rotated sprites, trim, etc.)