Adds referer (note mispelling) and helper `isInternalRequest()`. Provides access to the likely referer of the page.
Merge pull request #88 from robotpony/add-referer-and-helpers

Adds referer to request