reuse method to detect model type
#toString() must never fail
special handling of Serializable target type produced by Mockito - use
getObject().getClass() as fallback
generalized previous commit: if target type is just a class, use the
target object's class to improve the detected class
corrected exception message for missing getter
Fixed #297 by redoing the change from #273
Merge pull request #298 from misl/master

Fixed #297 by redoing the change from #273
Removed workaround for WICKET-5248
TinyMCE4 ported to version 4 with new examples. The old TinyMCE3 is available as a separeted module.