Removed cmark_free_nodes from public API.

Replace it with static S_free_nodes.
Minor reformatting.