Enforce Lua version when running tests

Makefile will check lua version and exit if it is not luajit or lua 5.1