[PHP7] Add support for package private class, trait and interface

Consumes PR #931 

TBD together with RFC
You may want to add tests for these cases that involve class autoloading:

```php
spl_autoload_register(function () { eval('namespace C { class D implements \A\B {} }'); });
```