Update Core.php

Passing a reference to $this->page allows plugins triggered by the `before_render_template` event to actually modify the content of the page.  Useful if a plugin is introducing new functionality that is parsed by content in the plugin.