TEZ-1780. tez-api is missing jersey dependencies. (hitesh)

(cherry picked from commit 99aa69339b68a14eaf3155da902ca2b08ea0ba5a)