Added builder for PermissionContext.
Added helper checkPermission function in PermissionsManager