SWITCHYARD-1946 Allow RESTEasy composer to throw WebApplicationException

Allow RESTEasy composer to throw WebApplicationException and add defensive logic to RESTEasyMessageComposer.