JERSEY-1887: NPE with intermediate ExceptionMapper interface.

 - Fixed issue (inspecting hierarchy of interfaces).
 - Added test-case.

Change-Id: I31171a9e835219d477ffe296ff339fbf84729964
Merge "JERSEY-1887: NPE with intermediate ExceptionMapper interface."