Restore DOMDocument

Restore the DOMDocument from commit
047e77450bb44f86b0c907aeaf3270e16300757b.
Improved CycleGroup class

Can again select 3D mode in CycleGroup class.
Added a toggle to switch 3D mode on/off in TheCycle.textBox.
Merge branch 'test2_fix' into test2