Adding the logging class to jni.
 - Replacing the Communication by RobotDriver.
 - Moved the connection maintenance thread from Java to jni.
 - Important: fixed a bug randomly causing abort/segfault in jni: the problem was in a global object in the so, the solution was to create the object in heap, seem to solve the problem.

Note that the auto joystick head enable/disable is not broken....