Migrated to JAX-RS 2.0-m16 API.

- main migration tasks done.
- Updated copyright headers.

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