Add pretty_print argument to toXml. Fixes #1

Because the elementtree in the python stdlib doesn't have
a pretty_print argument to the tostring() method, use the
workaround on the elementtree site:
http://effbot.org/zone/element-lib.htm