JERSEY-2176: "Problems with calling close() and flush() methods on underlying output stream."
Problem has been caused by calling HttpServletResponse.sendError that resets OutputStream to state there is no way to change it.
However calling setStatus(500) does not definitely close/reset OutputStream.
Other side effect of sendError was it does not preserve output entity - it outputs default HTML response page.
Failure method of Jetty and Servlet ContainerResponseWriter implementation has been unified.
New server property 'jersey.config.server.response.setStatusOverSendError' has been introduced - switch on/off sendError/setStatus.

Change-Id: I13ec310ff3320cd7b0d1b670cef60b9dea718329