Add an untested bunch of code to do master elections.
Add an untested bunch of code to do master elections.

Right now it compiles and looks like it might do the right thing, but
no tests have been performed yet. There will be test programs committed
to this place later.

tonnerre/go-doozer-masterelection