Move properties file.
Fix error handeling in initMime()
use ClientBuilder
resteasy-jsapi: Clear XHR handler after success.

The problem I encoutered that the onreadystatechange handler is called multiple
times on iOS 6. I can try to provide a simplified scenario but the idea is that
in the ajax callback I add two images to the HTML page. This caused the handler
to be called three times.

Some (especially older) browsers leak memory due to the cyclic reference
between the XMLHttpRequest object and the callback. This
[article](http://nullprogram.com/blog/2013/02/08/) dicusses this problem.
* Returning a DefaultFullHttpResponse when response is non streaming.
* Returning a DefaultFullHttpResponse when response is non streaming.
* Removed unused import.
RESTEASY-1091: Disable XML external entity expansion by default
Add JSON MIME type to @Formatted to "pretty" print JSON output
* Adding content-length header to empty full http responses
Merge branch 'RESTEASY-1090' of https://github.com/hypnopadge/Resteasy into RESTEASY-1090

Conflicts:
	jaxrs/server-adapters/resteasy-netty4/src/main/java/org/jboss/resteasy/plugins/server/netty/NettyHttpResponse.java
Used constant for empty response content-length header
Reset variable indentation
Merge pull request #543 from sajmoon/replace-deprecated-client-request-response

Replace Deprecated Client Request/Response with ClientBuilder
Merge pull request #552 from hypnopadge/RESTEASY-1090

Resteasy 1090
Merge pull request #548 from ronsigal/master

RESTEASY-923
Merge pull request #549 from abn/RESTEASY-1091

RESTEASY-1091: Disable XML external entity expansion by default
Merge pull request #550 from liweinan/resteasy838

RESTEASY-838 Add JSON MIME type to @Formatted to "pretty" print JSON output
Merge pull request #528 from sajmoon/RESTEASY-811-tjws-mime

811 - Move Mime.properties file.
Merge pull request #545 from ctalau/master

resteasy-jsapi: Clear XHR handler after success.
* Removed unused object
* Added connection close header to non keep-alive responses
Added bytebuf release to http request decoder