Fix some false negatives for properties with unknown type, try 2

If one of the potential types of the member's parent defines the property, we don't warn, even if the type is unknown.

This checks through the prototype chains as well.

Fixes #12.