- changed class name from Quiz to MathQuiz as Quiz overlaps with moodle class
- added code that seems to process empty spaces correctly
- made minor changes to allow for legacy XML import