serialize any DOM-Node, thus renamed "docToString" into "toString"
use plistLib to determine if value is a dict
use element.children instead of node.childNodes
add tests for ufoLib/glifLib/writeGlyph
make ufoLib/glifLib/writeGlyph pass all tests
register new tests