MDL-40384 mod_scorm: change parse toc tree to support existing markup