rename Template to ParseTemplate and add hook for custom template parser
add directive registration to template parser
add directive registration and strict option to Markdown parser API