fixed shallowCopy for ParagraphElement
fixed findChildIndexAtPosition for FlowGroupElement
refactored and fixed delete and split operations
added and fixed tests