Major changes to text() handling

The default TEI schema was badly breaking the handling of spaces when we have intermediately styled elements. I spent a long time trying to tweak this, to no avail. I have, therefore, removed the dud TEI code.

To fix this, we will instead find another way to normalize duplicated spaces and ensuing empty elements (perhaps through python).