fixing "del" --> "delete" in Registry, and adding Registry.filter and
adding priority kwarg to Registry.set, and tests
moving several aspects of *Worker up into an abstract base class,
including register, unregister, and heartbeat.  Fixing naming of modes
and operations, e.g. shutdown-->terminate

tests now exercise the "failed" state and run via MultiWorker