JERSEY-2252: Fix sse-item-store-webapp tests on WLS.

 - InputStream#available (EntityInputStream) on WLS waits until
   socked timeout is reached when chunked encoding is used.
   Trying #markSupported first.

Change-Id: Ie63d3b9665bd373f34f4268e9c6e4bda3a806849
Fix for JERSEY-2154: Glassfish 4 doesn't map exceptions wrapped in EjbException if no resource class is an EJB
 - added reproducer
 - fixed the bug: EJB exception mapper is registered unconditionally

Signed-off-by: Jakub Podlesak <jakub.podlesak@oracle.com>

Change-Id: I2aafa0baafa8bb84fed9944c00044658043a2bf1
Merge "JERSEY-2252: Fix sse-item-store-webapp tests on WLS."