Refs #360. Added a WYMeditor.DocumentStructureManager to handle DOM structure.