Replace TextPane with ConsoleTextEditor

The ConsoleTextEditor from the groovy-all jar contains some nice
features that makes it easier for typing.

See #1.
Add undo/redo to application

Undo and redo now works but they need to be enabled/disabled properly.

See #1.