Various functions

Added some more Lua 5.2 variants:
*   debug.setuservalue/getuservalue
*   pairs/ipairs
*   xpcall
*   math.log
*   string.rep
*   package.searchers