Redesign api

Everything's different now. See [unit tests](https://github.com/knowledge-map/cartographer/blob/redesign-api/tests/graph.js) and [example.js](https://github.com/knowledge-map/cartographer/blob/redesign-api/demo/example.js).