MDL-50537 core_webservice: New external functions utility class