Resource links don't take API_VERSION and URL_PREFIX into consideration.

As the HATEOAS links are now relative to API entry point (the root), we
don't want API_VERSION and URL_PREFIX to be included. Since they are
returned by request.path we have to strip them out manually.

CLoses #419.