Fix Exception::getPrevious return type to be nullable

Closes #413
Properly link to class even if it's nullable

I removed all ? out of those strings, assuming no class has a ? in it, which it shouldn't.

Links to typehints or return types work now even if they are nullable.