Add algorithm to draw path in GUI

Draw the driven path depending on direction changes.

The Connection class is a Singleton to make sure we've got only one
Connection.

C-Code is cleaned up and re-organised a litte. Certain direction codes
are sent to the GUI.

Signed-off-by: hjan <hoeppner.jan@xurv.org>