Added 'preRender' event triggering before page content is changed.
Merge pull request #1 from karmadude/master

Added "preRender" event.