Switched to using luajit
added tests to Xcode project
Changing ternary operator output to use 'if a and b or c' syntax, instead of 'function() if a then return b else return c end end' syntax