Pages addon

Event needed for Page addon
I would not have done this like this. The comments above each block refer to what the code is here for. It's also still in the wrong spot, and the entity method did not have it added to its arguments list yet. The changes in this file should just be:
```php
		// Load/Mock classes required by the controller class
		$db = $this->new_dbal();
		$phpbb_dispatcher = new \phpbb_mock_event_dispatcher();
		$this->auth = $this->getMock('\phpbb\auth\auth');
		$this->container = $this->getMock('\Symfony\Component\DependencyInjection\ContainerInterface');
		$this->container->expects($this->any())
			->method('get')
			->with('phpbb.pages.entity')
			->will($this->returnCallback(function() use ($db) {
				return new \phpbb\pages\entity\page($db, $phpbb_dispatcher, 'phpbb_pages');
			}))
		;
```