Fix namespace docs

 - Prefix all global classes references with a \ where it was missing
 - Fix local references

This helps IDEs like Netbeans and PHPStorm to provide autocompletion.