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

Consumes PR #931 

TBD together with RFC
@laruence first time I saw this function... yes, it makes sense. I'll update the patch with this usage. =)