Localize require

Make require inside scopedEval to resolve modules againt current module's
filename. This way we can require functions from other modules.