MDL-44287 glossary: use course mod api to create new module when importing as new
MDL-44287 glossary: do not output before redirecting
MDL-44287 glossary: behat test for glossary categories