MDL-37085 get_module_metadata() now returns link as moodle_url instead of string