Fixed JERSEY-1809, JERSEY-2182.

- [1809]: Chunked output is now intercepted only once, not with every new chunk.
- [2182]: Chunked output supports custom chunk delimiters. SSE implementation updated to use the feature.
- Added/updated chunked input/output tests (E2E, integration w/Servlet 3).

- Other minor changes:
  - Fixed incorrect behaviour of fixed boundary chunked input parser.
  - Unit tests in server-sent-events example made more robust in error reporting and simpler in code.
  - SSE EventOutput now only exposes a single constructor and does not leak the constructors from ChunkedOutput.
  - SSE OutboundEventWriter updated to not create boilerplate content in byte arrays repeatedly.
  - Hamcrest test matchers library version upgraded to 1.3 & added the dependency to E2E tests module.
  - Narrowed default Jetty Servlet initializer scanning scope to reduce the startup time.
    - except for Spring 3 integration test.

Change-Id: I4128f87a5011847cd734991db0d76da7805c20a6
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>
Merge "Fixed JERSEY-1809, JERSEY-2182."
JERSEY-1922: InputStream MessageBodyWriter doesn't close stream on HEAD method

 - Reproducer.

Change-Id: I2609db2a1ff7754660dc0b70f007f02935e3078c
Merge "JERSEY-1922: InputStream MessageBodyWriter doesn't close stream on HEAD method"
Update version of Jersey (2.4-SNAPSHOT -> 2.5-SNAPSHOT) in performance tests.

Change-Id: Id80a172e35bcfbbfc6ce2fdc2e298afcc99c7a19
Minor update in SSE documentation.

- Added explanation of the difference between Jersey ChunkedOutput and JAX-RS StreamingOutput.

Change-Id: I08114b0ec04602fb6d83b1b0aa4cdcb17d28a86e
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>
Minor update in Security user guide chapter.

- Clarified how RolesAllowedFeature can be registered when extending ResourceConfig (for Servlet deployments).

Change-Id: I78f2f005a77ca308546bf0661d0bc67a647aab79
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>
Merge "Minor update in SSE documentation."
Merge "Minor update in Security user guide chapter."
Jersey-1612: Cannot reproduce (test added)

Change-Id: Ie22d8c4f06c8ecc619162fef7988cf20b2d650c6
Merge "Jersey-1612: Cannot reproduce (test added)"
Resolved JERSEY-2198.

- Added support for ClientRequest.resolveProperty(...) + unit tests.
- Updated FOLLOW_REDIRECTS support to be overridable by request properties.
- Removed unsupported and obsolete ClientProperties.BUFFER_RESPONSE_ENTITY_ON_EXCEPTION + updated migration guide.
- Updated documentation around properties.

Change-Id: Ieb2bc1900cde1d28580987c7a8a9858e28f9bc4e
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>
JERSEY-1667: Incorrect handling of file upload errors when temp files cannot be written

 - fix (+ refactoring)
 - integration test reproducing the issue

Change-Id: Ib70e371b7eaec4bc0b4ae9823b0bb62d16670c15
JERSEY-2168: "response.getLinks throws exception when URI contains query parameters"

Change-Id: If5215ad6d96b8b87af0a855e0f7b97b59f47a845
Merge "Resolved JERSEY-2198."
Merge "JERSEY-2168: "response.getLinks throws exception when URI contains query parameters""
Fixed JERSEY-1006: URL.equals() causes massive delay for shutdown of Jersey core bundle

Change-Id: Ia4c4adc3614d00d90669b34d92cec6bfbb8e5098
JERSEY-2181: "WLS: JAX-RS 2.0 with no Application class"

Change-Id: Ia8f3f490754b44869ee762c2e58de3324482df9e
Merge "JERSEY-2181: "WLS: JAX-RS 2.0 with no Application class""
Fixed Jersey-2.5 references to Jersey 2.4.1.

Change-Id: If20cbbe5ddb0a109200a6cc5688f76341c6c67be
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>