Basic infrastructure for publishing a REST API.

Copied unmodified from HybridCluster repository, except that:
1. Paging logic was ripped out.
2. Updated to latest Eliot APIs.