Some changes to improve flattening support with libsbml and proper removal of extra namespaces.
Some changes to improve flattening support with libsbml and proper removal of extra namespaces.

MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim