Pages addon

Event needed for Page addon
This test still needs fixing, as shown above. Revert it back to the way it was, and just move the `$phpbb_dispatcher = new \phpbb_mock_event_dispatcher();` line up as shown in the comment above, also adding $this->dispatcher to it and then adding $this->dispatcher as an argument, as shown in the comment above ^^