Adds Travis-Ci support and fixes the test with Lua 5.2