Add election framework to master; publish services.

Needs tests still.
m.Handler