zendframework/zf2 — pull request #6818 by harikt (2014-10-29 09:15:53+00:00)
Title: Add event manager to session for it is needed.

When downloading zend-session and trying to use it as standalone with the script

```php
setOptions(array(
'remember_me_seconds' => 3600,
'name' => 'zf2',
));
$manager = new SessionManager($config);

$manager->start();

$container = new Container('namespace');
if (isset($container->item)) {
echo $container->item . ' Session is set ';
} else {
$container->item = 'foo';
}
```

throws

```bash
php -S localhost:8000 session.php
PHP 5.5.9-1ubuntu4.4 Development Server started at Wed Oct 29 14:35:17 2014
Listening on http://localhost:8000
Document root is /var/www/github.com/harikt/zf2
Press Ctrl-C to quit.
[Wed Oct 29 14:35:25 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
[Wed Oct 29 14:35:25 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
[Wed Oct 29 14:35:25 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
[Wed Oct 29 14:35:26 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
[Wed Oct 29 14:35:27 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
[Wed Oct 29 14:35:28 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
[Wed Oct 29 14:35:28 2014] PHP Fatal error: Class 'Zend\EventManager\EventManager' not found in /var/www/github.com/harikt/zf2/vendor/zendframework/zend-session/Zend/Session/ValidatorChain.php on line 19
```

I struggled to understand the documentation, may be better usage of standalone should be promoted.

Thanks