tessel/runtime#553 r=@tcr: Adds require.resolve with tests.