Jersey 2.0

Updated Jersey 2.x branch (based on @saadmufti's branch, PR #545).
Not to be nit-picky, but do you want this `{` up on the previous line to match the rest of the styling?