Update jni_EventDispatcher.c
Removed some junk test code.
Merge remote-tracking branch 'origin/master'
Moving in some changes from the no_thread branch.
Changed the logger to ignore messages it cannot print via jni.
Removed comment.
Changed type.
Fixed a small upstream change.
Change signature for NativeHookException access

The jni_ThrowNativeHookException function tried to access a constructor
for NativeHookException with the signature (SLjava/lang/String;)V using
GetMethodID. This lead to a NoClassDefFoundError.
This fix changes the signature parameter to GetMethodID to
(ILjava/lang/String;)V for which a corresponding NativeHookException
contructor can be found.
Merge pull request #26 from tinarm/nhe-bad-signature

Change signature for NativeHookException access from short to int.  Thanks to tinarm for the patch.
Moving the exception class lookup to the jni_Globals.  Eventually we should use a better class loading solution for the native code.
Merge branch 'master' into no_thread

Conflicts:
	src/java/org/jnativehook/GlobalScreen.java
	src/java/org/jnativehook/NativeHookException.java
	src/java/org/jnativehook/example/NativeHookDemo.java
	src/jni/jni_EventDispatcher.c
	src/jni/jni_Logger.c
Cleaned up the dispatcher a little.