Convert editor tests to AMD, and change to use  boilerplate.js instead of _testCommon.js,  refs #17022.  Editor/robot test files not converted to AMD though.