Rewrote install batch file in Lua.

This is mostly a direct translation, so there are lots of things to
improve, but it is a working install script written in Lua.
Fixes by @Tieske to the installer
Merge pull request #126 from ignacio/install_lua

Whoa, it does not feel like 1994 anymore!!