Change the writer code a bit.
Add #node_type method to dtd.
Fix segmentation fault for issue #62.  The deregisternode function was incorrectly NULLing out a node's mark and free functions for nodes removed from a document tree.
Merge branch 'master' of github.com:xml4r/libxml-ruby