Bz1081776

Added "resteasy.document.expand.entity.references" context parameter. Also upgraded resteasy to 2.3.7 and added logic to keep the json.jar when resteasy jars are not included in the war since this is a requirement for deployment.