Add require.url() method to resolve urls according to the require-base