Add support local dependencies to Component plugin

Component has [the notion of "local dependencies"](https://github.com/component/component/wiki/Spec#local), which can be defined inside of `component.json`.

I realise that currently [the Component plugin](https://github.com/marijnh/tern/pull/239) does not support these.