[CXF-4745] Add a check in JAXB databinding to make sure the object to be written out actually matches what JAXB is expecting it to be.

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1432236 13f79535-47bb-0310-9956-ffa450edef68