Added modules option and .spider extension importing

For importing, this is the best I could do:
```js
import * as mod from 'mod'; // Spider module
import 'mod2' as mod2;      // Node.js module
```