Added text editor, and modified the command/terminal I/O

There is an error in the code of textedit, but it should go away once the new libgdx nightly comes out tonight. I am commiting now mostly for backing up this huge change. I will make a new release once libgdx updates.

Just to confuse people some more, I switched back to the original command format where you leave out the '.py'

There may be problems with the new line character when editing the text editor. I am on linux, and I saw some \r and \r\n new lines.