Merge #530 r=@tcr: Fix JSON replacer function and test scripts.

This function was completely broken, my bad.
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.