Merge pull request #1 from munsuri/master

Windows resolution adjustment and mac mouse button drag detection
Cleaned up the get resolution function.  Added two new functions for testing.  These new functions should return the total screen real estate with multiple  monitors instead of just the primary display.  Testing Needed.
Changed the sign of the x,y coordinates for mouse events to accommodate the cartesian style coordinates on Windows and Darwin platforms.
Removed pkg.m4 as it should be installed with pkg-config on the build system.
There is no guarantee that this alias will be accurate.
Removed hook_wait and continue functions from the public API.  This type of flow control should be handled by the implementing programmer and not included as part of the library.
Removed hook_wait and continue functions from the public API.  This type of flow control should be handled by the implementing programmer and not included as part of the library.
unwind some of the changes for fillEventDataMouse() removal.  Each case in this nasty switch should probably move out to a function for maintainability.
Reverting the demo application to the master.
Added  display to the xrecord closure for use in the callback by xinerama and XrandR.
Added a lot of test code for multi-head support.  Most of this code is useless with the exception of the xinerama stuff.  More tested is needed.
Added xinerama to the configuration script.
Clamp into range for the x and y.  This appears to work and should work in theory for any number of monitors in any configuration.  We will need to include both xrandr and xinerama for completeness.
Cleanup a bunch of macro junk that was auto-magically added.
Fixed a strange issue with a jvm crash related to this function.  I don't believe is being used anymore if it was ever used correctly.
Fixed a strange issue with a jvm crash related to this function.  I don't believe is being used anymore if it was ever used correctly.
Fixed a strange issue with a jvm crash related to XInitThreads.  I don't believe it is being used anymore if it was ever used correctly.
Mouse drag events should always return NOBUTTON as implemented by the JRE.
Revert the inversion of mouse wheel scroll direction for Darwin.
Fix mouse wheel logger.