MDL-39756 add defaults for the new essay type and support XML export

[This commit will be squashed into the first MDL-39756 commit.]