Fix platform dependency on Linux

Follow on from b799d7cf6acca1346d0b5f703b97060aa31fcb31
Always do "hello" to pydevconsole first

This aids error detection by signalling any errors in the connection
process at first connect.
Remove now redundant code now that we always call hello() at startup of console
Further cleanup and resolution of complexity in createConsole
Revert "The interactive console can now work with wxPython without blocking."

This reverts commit ee2f065dd184e53fcd8b6c2b740218bcac0b3e1c.
Revert "Changed approach to send events to Qt to be compatible with PySide."

This reverts commit 8c4690db9b2a05ed98c7f9064a1c807d7a28d0dc.
Revert "Leaving only pyqt4 integration as gtk/pyside had issues."

This reverts commit c535fa651454fcb2fb5d21b63834ea91c4e87400.
Revert "Merged support for Qt and Gtk UI frameworks so that they don't lock the interactive console."

This reverts commit 13a4b4bc5467adbd4fbcc19bdf4f41384a5244a2, reversing
changes made to da115b4c125d4140439325c3bf3d18691958fe85.
Remove previously unfinished (aka dead) code
Bring TreeNodeTest.java up to JUnit4

This change was originally (accidentally?) part of the commit chain
listed below.

This reverts part of commit 9c3f9f44f00857ea1f7bce0271ab69f7637a360f,
i.e. restoring part of c535fa651454fcb2fb5d21b63834ea91c4e87400.
Original IPython 1.0.0 versions of files.

Copied from https://github.com/ipython/ipython/tree/rel-1.0.0/IPython
(IPython as of commit 02da31ca5a6576dfe9a95ecd9497c1df9a63533d)
Update/write inputhooks for all supported GUI toolkits
Change imports in code to by pydev_ipython (instead of IPython)
Rework IPython's inputhook model to be hookable into the XML-RPC server

When a GUI is enabled, an "inputhook" is created that is called from
the XML-RPC server when it is idle. The inputhooks can then look
at "stdin_ready" to find out if they should hand control back to
the XML-RPC server.
New XML-RPC server version that delegates to inputhook when idle
Use the inputhook version of XML-RPC server for the pydevconsole
Allow the GUI to be set from Eclipse via XML-RPC call (enableGui)
Manual tests for GUI event loop integration

These tests are adapted from IPython and need to be run manually.
Expose selection of GUI event loop integration in Console Preferences Page
Send enableGui command to console on console startup