MDL-46051 mod_lti: Fixing errors in unknown_service_api_called class

Also adding unit tests.
Normalize request header names.
Merge branch 'MDL-46051_LTI_event26' of https://github.com/moodlerooms/moodle into MOODLE_26_STABLE