Remove not used SUPPORTED_FIELD_REFERECES variable.
Avoid RE replace escape space chars outside of <text:*> nodes.
Revert "Fix import error in pyhton 2.6."

This reverts commit f6a78cb4b2409ffbc3226d3c58e850629fdd5045.
Revert "Sorting escape rules to ensure an apply order."

This reverts commit 4067b17a5964aa2c7863ff4dd60de1971d79c42d.