add __pairs and __ipairs
default to lua 5.2 in build as metatables work better with 5.2
Merge pull request #63 from justincormack/pairs

__pairs/__ipairs support