Fixing a bug in ReflectionUtils that causes a hierarchy of classes with type parameters to get a null type if the hierarchy is more than 3 deep.
check-style fixes
Merge fix for #668 from https://github.com/rlodge/morphia
[Issue 668] Updated ReflectionUtilsTest to use assertThat and hamcrest matchers as per our newer style of testing.