JERSEY-2168: "response.getLinks throws exception when URI contains query parameters"

Change-Id: If5215ad6d96b8b87af0a855e0f7b97b59f47a845
Merge "JERSEY-2168: "response.getLinks throws exception when URI contains query parameters""