Merge pull request #9 from unyuk/master

window width and height swapped
fix osc/data mapper

Now works as intended: The callback function now receives all
captures from a single match. Patterns without captures only
receive the callback data.
Prevent potential c-stack overflow in string.find

Thanks to mrjones for pointing me to this bug.
http://www.lua.org/bugs.html#5.2.1-1
restructured vnc code
added support for vnc authentication