Create registry.php

### How to reproduce

1) just open any file with JRegistry used in phpstorm or NetBeans or eclipse.
2) See that with CRL or CMD hover and click you can't access the class and (at least in phpstorm, they are displayed as yellow errors)
3) apply this patch
4) and all those warnings disappear and you can control-click on it to access the definition

Thanks @beat