Added API documentation to src/cmark.h. Closes #224.