API improvements: cmark_event_type parameter for walk handlers.

Added cmark_event_type enum, which is used as the second
parameter of the handler passed to cmark_walk.

See #224.