Localize require

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

This implemented to be runtime dependent by allowing to inject your own
implementation of module resolution mechanism.