Makes cjs_amd work with relative path deps

This makes the cjs_amd path work with relative path dependencies. In order to do this we needed to add esprima parsing so that we could replace `require` calls with the dependencyMapped value.

```js
require('./a');
```

becomes

```js
require('a');
```