DATAGRAPH-298: GraphRepository with abstract type parameter should throw...

... more meaningful exception when stored Java type is not a subtype