[ ] Create a useFacilities composable in kolibri-common that has module level state, to allow for easy replacement of the current actions, state, and getters where they are used.
[ ] Replace all references to the actions, state, getters, and mutations, to use the composable instead.
[ ] Create a useFacilities composable mock for testing purposes.
[ ] Update all frontend tests should to use the mock for the new useFacilities composable.
The getFacilities and getFacilityConfig actions (defined here: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/state/modules/core/actions.js#L212) are used in the coach, device, facility, and user_auth plugins.
The state is defined here: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/state/modules/core/index.js#L16
The two mutations are defined here: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/state/modules/core/mutations.js#L2
And two getters are defined here: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/state/modules/core/getters.js#L4