Fixed JERSEY-2028.

- Exception thrown from InboundMessageContext.readEntity closes the entity stream unless buffered.
- Added client-side encoding filter reproducer unit tests.
- Minor update of EncodingFeature API to avoid generic array creation warnings when used.

Change-Id: Iaa7ea3a04db21e1d9b0b14b168953fee66756a80
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>
Merge "Fixed JERSEY-2028."