Mark some deps optional that aren't needed for JAX-RS

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1511293 13f79535-47bb-0310-9956-ffa450edef68
Also catch the NoClassDefFound error

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1511294 13f79535-47bb-0310-9956-ffa450edef68
This should be fixed now

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