Namespace reference cleanup

 - Prefix all global classes references with a \ where it was missing
 - Fix local references

This helps IDEs like Netbeans and PHPStorm to provide autocompletion.