MDL-41181 No need to reset modinfo cache after moveto_module()

it is already reset inside the function
MDL-34397 (not sure) Reset cache in API functions instead of tests …

- groups_add_member() and groups_remove_member() must reset cache and tests must not