Add import-export round-trip check.
Add import-export round-trip check.

* add fix for the file export code--remove tag tail and text,
  not just the children.

bmedx/modulestore,bmedx/modulestore,bmedx/modulestore