Add PreprocessHook method

I want to be able to run a markdown parser over my templates, before the mustache rendering kicks in so I added a PreprocessHook method.

Also I made methods protected virtual so you can override behavior if you need.