Added before_render & after_render hook
Can be used for pre-processing content
Merge pull request #761 from LeonB/3.0-stable

Added before_render & after_render hook