Fixed JERSEY-2297.

- Entity provider lookup/caching modified to avoid caching excessive amounts of data when media types with many unique parameters are used (e.g. multipart boundaries).
- Also updated wrong copyright header in CdiComponentProvider (caused by recently merged pull request) and as part of this change also fixed the potential JNDI initial context resource leaks.

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