Fixed build for Lua 5.2 ("make test" works again).

1. updated srlua for 5.2 (but this may have broken 5.1?)
2. updated luatest.lua to 5.1/5.2 compatible version.
3. fixed Makefile a bit for OS X.