router.url_for()

Fixed API urls for virtual hosting
Set correct hostname
Fixes collective/plone.jsonapi.routes#15