Add regex bsontype and fix lua_to_bson stuff