Removed headline parent trap

Removed heavy logic of trying to maintain parents for each heading and
updated logic for moving headings around. Things should be a lot more
streamlined.