Cached_has_permissions in templates instead of pre-calculated context variables

Switched to using cached_has_permission in templates, rather than having those permissions in template context