Consolidate final state handling.
Standalone leader initial state implementation.
Make Leader use independent initial state management implementation.
Generate events for leader activity start/stop
Use InstanceStateFactory events to trigger or block heartbeats.
Minor cleanups
Allow unit tests to be in any package.
Move tests into relevant implementation packages and reduce access scope on relevant methods.
More test relocation and associated access control clean up
Remove no longer required method.
Trim a dead constant.