Fixed package module to propagate erros from loading module

When Lua finds an error while loading the package, the current `require` just errors and returns. I changed it so that `pathSearcher` now checks to see if the loader is actually loaded, and otherwise return the error returned by `loadfile`.