resty.core.base: override the default require() with our own pure Lua wrapper so that the fast code path (i.e., returning the module table directly from package.loaded) can be JIT compiled.