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

..., and updated documentation and scaffolding