MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
MDL-40402 unittests: Make sure get_system_context() throws a deprecated warning
MDL-40402 libraries: Deprecate get_system_context()