Added permission checks to calendar module view. Fixed old permission
wrapper to return False is checks fail.
Modified permission system for spaces views.