Introduced the securityPolicy member of the Yesod typeclass, added tests...

..., and updated documentation and scaffolding
Datatext contexts don't usually do much good. I'd recommend removing `Yesod site =>`.