Fix IDE Problems with JRegistry

### 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

### Tracker
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33768&start=0