MDL-60144 mod_workshop: Move submission evaluation code to API