JERSEY-2031: jersey 2.1 explicit viewable resolvingClass missed when do a jsp tag.

 - Fix + minor refactorings.
 - Added integration test-cases.

Change-Id: Ib335525e9bf2107d09554ed3984b1cbed71a8b6f