More comprehensive tests for /api/trackhub/(:id) endpoints.
Create/delete index as separate ops, plus a method to return the docs.
Minor comments.
Initial support for doc creation API: /api/trackhub/create (PUT).
Initial support for doc update API: /api/trackhub/:id (POST).
More POD aware.
Test request for non-existant doc.