Declare purl as string literal

Declare purl as string literal so we can do ´import purl = require("purl")´.