MODE-1912 - Implemented the logic for removing protected properties and children when a mixin is removed from a node.
MODE-1912 - Updated versioning logic, so that when mix:versionable is removed and then later on re-added, the correct version history & properties are re-linked to that node.