Add referer test
Merge pull request #18 from theodi/referer

Fix JSON responses when there's a referer