Merge #533 r=@jiahuang: Generate unique match array for regex functions.

Reusing this state broke nested replacer functions in regexes.
Removes LuaBitOp dependency.
Removes colony-lua.
Adds colony-luajit.
Adds support for building with luajit branch.
Removes bit32 from libs that are included.
Fixes return type of colony_isarray
Supports a colony_tolstring function for transforming values.
Fixes nil comparisons.
Corrects global regexes.
Updates LuaJIT branch.
travisplexer: pr-528-osx travis ci test