Add getVersionInfo() method

This allows users to obtain the versions of LuaSandbox and Lua that are
in use.

It also cleans up a few LuaJIT-related build warnings that showed up
once code was added to actually include luajit.h.

Change-Id: I102ccca1d01ae9555cf13544af21e3d3efb1d8e5