JERSEY-1580: Bug "RuntimeDelegate#createEndpoint throws NPE instead of IllegalArgumentException" fixed

Change-Id: Ieef823951d7c93c9982e150bcc5d0264bc991feb
JERSEY-1464: Media type selection (works as desired: test added)

Change-Id: I105fe483edd0b4e2deb8c86f3b59a9d79e59eef4
Merge "JERSEY-1464: Media type selection (works as desired: test added)"
Merge "JERSEY-1580: Bug "RuntimeDelegate#createEndpoint throws NPE instead of IllegalArgumentException" fixed"