Use CHECK_CALENDAR_PERM_FUNC call to check calendar permission (passing a calendar to the EVENT check should fail). Remove unused call to CHECK_EVENT_PERM_FUNC.
Merge pull request #72 from drodger/master

Use CHECK_CALENDAR_PERM_FUNC call to check calendar permission.