Small runtime fixes

So in this update I fixed some of bugs what I and Ertzel found. They
are:
- Map MaxX and MaxY sizes was in some places divided by 1 and in some
places not. Fixed this issue, what caused some RTE errors.
- Added some more checks to NPC movement, becouse server was crashing
when NPC tried to move out of bounds.
- Added also KeraLua.dll what was required by NLua library and what I
forgot to include.
- Removed LuaInterface and lua51 libraries
- Fixed loading of Tileset and Map editors (error was popping when these
editors tried to reload rendering windows before they was even
initialized)