Add compilation flag for building against LuaJIT or Lua VMs.

Replaces #528 with a direct merge into master.

Adding the `make` option to generate a runtime build targeting either Lua or LuaJIT. This isn't intended to be long-term (the Lua VM will just be removed eventually) but to provide greater opportunities for testing coverage before enabling it by default.