JERSEY-2325: JsonMappingException is thrown when WebApplicationException
             is used in resource method which returns collection
JERSEY-2382: unable to throw exception from a resource method
JERSEY-2294: Adding any pojo entity to response in exception mapper fails
             if originally called resource should produce a list of pojos

 - Added check to ContainerResponse transfomation method whether the
   response comes from a mapped exception. If so the resource method
   metadata are no longer affecting the response.
 - Added e2e test.

Change-Id: Ie166816ca67cc4f64502de779b10f0a00c7e419b
Signed-off-by: Michal Gajdos <michal.gajdos@oracle.com>
Merge "JERSEY-2325: JsonMappingException is thrown when WebApplicationException              is used in resource method which returns collection JERSEY-2382: unable to throw exception from a resource method JERSEY-2294: Adding any pojo entity to response in exception mapper fails              if originally called resource should produce a list of pojos"