Expose tendril dependencies for graphing

You can see in the first commit, I was producing graphviz format from tendril.  I moved this out into api worker.    Exposing the dependency graph in a simple data format (json) makes more sense to start.
Done,
Done,
Done.

Shouldn't we get some nicer method docs for free if taking the time to do JSDoc?