Fix sorting of LiftRanges

To properly sort LiftRanges replace element entries with
<element name="text">blah blah</element> with correct entry
<text>blah blah</text>
Fix sorting of LiftRanges

To properly sort LiftRanges replace element entries with
<element name="text">blah blah</element> with correct entry
<text>blah blah</text>.

Add BadTextElementsAreFixedBeforeSorting to UnitTests.
Merge pull request #81 from mccarthyrb/master

Fix sorting of LiftRanges