wip-MDL-27414 Upgrade the randomsamatch question type to the new question engine
Some work on upgrade and questiontype
codechecker fixes