Added instance provider creating type matching constructor argument using inheritance.

Signed-off-by: Ivan Appert <iappert@gmail.com>
Added missing comment to method.
Merge pull request #15 from iappert/TypeMatchingArgumentInheritanceInstanceProvider

Added instance provider creating type matching constructor argument using inheritance.