Added PHPDoc support proper static support

If you use "@return static" on a Trait or (I believe) Parent, it'd resolve to the Trait or Parent code completion, which is not very "smart".

This should now allow allow you to code complete on Traits and (if it was broken) the Parents properly when using static keyword. This should not change the way self or other special keywords are used.

(note: I am not a Python dev, so some of my methods may not be best for Python)