Get rid of contextid in core_role_assign_roles function
Add Schedule hooks
Get rid of contextid in core_role_unassign_roles function
Get rid of local_getcontexts_get_contexts function