Fixes for exportneuroml.py

The Segment vs SegmentParent objects in NeuroML python are not entirely clear to me.