Support python text highlighting in Text module

For posterity, this functionality is now available as an extension called ScriptEditor. See: