Use express middleware to set app.settings.href on each request and set document.location in jsdom.
Update changes, readme, package.