Merge sublime and netbeans/phpstorm

Gives some warnings for phpStorm, but only in the helper file, so
doesn't affect the autocomplete / warnings in application code.
Use declaring class

When function is inherited, link to the original class.
Use full namespace