MDL-39153 webservices: Provide alternative to passing contextids

As per our policy webservices should never have a required contextid, thuse providing a support for passing contextlevel and instanceid as parameters to the api
MDL-39153 libraries: role_unassign doesn't accept context as parameter. Fixing the incorrect doc