added TryGetClassInParent
Merge pull request #9 from fachammer/extensions

added TryGetClassInParent