Adds namespace to the docblock of _getReflectionPropertyInstance().
Bugfix and tests for protected property related code.
Adds tests for classname resolution.
Removes duplicate code.