change value_to_property to accept instances of subclasses of allowed types
Merge pull request #74 from dannyroberts/accept-subclass-types

change value_to_property to accept instances of subclasses of allowed types