Rename cmark_node_type_string -> cmark_node_get_type_string.

And export in cmark.h public header.

Also, use lowercase names, not uppercase.
Revamped xml writer and dtd to use lowercase element names.