Jersey 2.0

Updated Jersey 2.x branch (based on @saadmufti's branch, PR #545).
Do you want this `{` moved up to the previous line to match the rest of the styling?