WIP: Add election framework to master; publish services.

Needs tests still.
For my purposes, there's no stateless way to make these dummy services. One master needs to keep them updated, and all others need to not do so.

This code is intended to be agnostic about what tasks we add to the master in the future; we should fight about those on a case-by-case basis. I'd hope to keep that set small, but it's probably not going to be empty.