Enable (and test) xml export of pure XBlocks

[LMS-179]
[LMS-209]
[LMS-1345]