Resolve path to module

I changed the way how mocked modules are located. Now it works just like `require`, i.e. you `registerMock` with path relative to the current directory. This way you only need to register the mock once, no matter how many times with what different relative path it is required.

I found this useful when writing tests for my application.