(CSRFReferer) Check referer on incoming requests to verify they are same-origin.
Merge branch 'master' into issue-400
(CSRFReferer) Fixes from review feedback
Merge branch 'issue-400' of git://github.com/mrvisser/Hilary into issue-400