fix(rest): set leading / of variable links by hand

- with resteasy 3.0.8.Final (wildfly) a / in a uri part
  is encoded as %2F, so we have to set it by hand and remove
  it form the uri part

related to #CAM-3039