Small update to Lua callbacks

Added getWindowRect
Added setCurrentDir to Windows build
Added test file (windowtest.lua)
Added a small piece of documentation