Fix/obj

This fixes the case of

```js
module.exports = {foo: bar}
```

which should include `bar` in the implicit globals, but doesn't.  It also adds a test case to prevent regression.