Lightweight duplicate of Lua's require function based on understanding and behavior.
Only tested on Luvit
Running the library is as simple as requiring it, it will override the current environment's require with a duplicated one.
require('require');