fix for commonjs formatter for esprima PR 287

plus more tests for:

```
export default function () {}
import { default as fn2 } from './exporter';
export { default } from './first';
```