Update hook_thread.c

Fixed some data disp oversight.
Update hook_thread.c
Added thread start callback to hack around a jni problem upstrem.  The solution will probably mean removing the library thread and have hook_enable block while the hook is running.  This should allow more flexible library implementation.
Various bug fixes.
Fixed a couple of typos.
Improved the demo hook example.
Created uniform API for unicode lookup that supports multi-char sequences.  Some improvements were made to Windows and Darwin key translations.
Removing post support for key typed or button clicked events for all platforms.  Reversing engineering the correct key and modifier combination is not easy or consistent among platforms.
Fixed a couple small issues with consuming events producing clicked events and click counts.
Merge branch 'master' into no_thread
Add a new demo application for multi-thread.

Conflicts:
	include/uiohook.h
	src/darwin/hook_callback.h
	src/darwin/hook_thread.c
	src/darwin/input_hook.c
	src/darwin/post_event.c
	src/windows/hook_callback.h
	src/windows/hook_thread.c
	src/windows/input_helper.h
	src/windows/post_event.c
	src/x11/hook_callback.h
	src/x11/hook_thread.c
	src/x11/input_hook.c
	src/x11/post_event.c
Merge branch 'master' into no_thread
Add a new demo application for multi-thread.

Conflicts:
	include/uiohook.h
	src/darwin/hook_callback.h
	src/darwin/hook_thread.c
	src/darwin/input_hook.c
	src/darwin/post_event.c
	src/windows/hook_callback.h
	src/windows/hook_thread.c
	src/windows/input_helper.h
	src/windows/post_event.c
	src/x11/hook_callback.h
	src/x11/hook_thread.c
	src/x11/input_hook.c
	src/x11/post_event.c
Merge branch 'no_thread' of github.com:kwhat/libuiohook into no_thread