Make security module always available in template context

This gives all templates access to the Requirement classes.
Add new "edit" permission, in between "view" and "admin"

This allows use of the session editor, but not uploading attachments
Merge branch 'edit-permission'

* edit-permission:
  Add new "edit" permission, in between "view" and "admin"
  Make security module always available in template context