Implemented the MoveUp/MoveDown/Promote/Degrade functions for document nodes.