Election handling is more stable. 500ms election, oldest widget wins.
Cleaned up dead code.
Leader now participates in election regardless of if it will loose so that potential winners know to aqcuire state.
1 second elections, 250 ms to ensure propper victor, 250 ms to obtain state from previous leader.
Merge branch 'master' into feature-electionEnhance

Conflicts:
	app/js/bus/api/commonApiBase.js
	app/js/bus/defaultWiring.js
	dist/js/defaultWiring.js
	dist/js/ozpIwc-bus.js
	dist/js/ozpIwc-bus.min.js
	dist/js/ozpIwc-metrics.js
Fixed merge.
Fixed merge 2.0
Merge branch 'master' into feature-electionEnhance

Conflicts:
	dist/js/ozpIwc-bus.js
	dist/js/ozpIwc-bus.js.map
	dist/js/ozpIwc-bus.min.js
	dist/js/ozpIwc-bus.min.js.map
	dist/js/ozpIwc-client.js
	dist/js/ozpIwc-client.js.map
	dist/js/ozpIwc-client.min.js
	dist/js/ozpIwc-client.min.js.map
	dist/js/ozpIwc-metrics.js
	dist/js/ozpIwc-metrics.js.map
Renamed events, moved to a setImmediate implementation on internalPrototype.
Tests broken due to not structured for new election, leadership checks need delay.
Fixed issue with electionQueue dropping without being processed.
Unit tests fixed for setImmediates
Reworked setImmediates to better sync election
Added logic to handle new leader leaving mid election.
Updated election quitting, added documentation.
Merge branch 'master' into feature-electionEnhance

Conflicts:
	Gruntfile.js
	dist/js/ozpIwc-bus.js
	dist/js/ozpIwc-bus.js.map
	dist/js/ozpIwc-bus.min.js
	dist/js/ozpIwc-bus.min.js.map
	dist/js/ozpIwc-client.js
	dist/js/ozpIwc-client.js.map
	dist/js/ozpIwc-client.min.js
	dist/js/ozpIwc-client.min.js.map
	dist/js/ozpIwc-metrics.js
	dist/js/ozpIwc-metrics.js.map
	dist/js/ozpIwc-metrics.min.js
	dist/js/ozpIwc-metrics.min.js.map
Added circular reference failure catching for state passing.
Merge branch 'master' into feature-electionEnhance

Conflicts:
	dist/js/ozpIwc-bus.js
	dist/js/ozpIwc-bus.js.map
	dist/js/ozpIwc-bus.min.js
	dist/js/ozpIwc-bus.min.js.map
	dist/js/ozpIwc-client.js
	dist/js/ozpIwc-client.js.map
	dist/js/ozpIwc-client.min.js
	dist/js/ozpIwc-client.min.js.map
	dist/js/ozpIwc-metrics.js
	dist/js/ozpIwc-metrics.js.map
	dist/js/ozpIwc-metrics.min.js
	dist/js/ozpIwc-metrics.min.js.map
Merge pull request #83 from ozone-development/feature-electionEnhance

Feature election enhance
Merge branch 'master' into feature-yuidoc

Conflicts:
	app/js/bus/api/commonApiBase.js
	app/js/bus/transport/leaderGroupParticipant.js
	dist/js/ozpIwc-bus.js
	dist/js/ozpIwc-bus.js.map
	dist/js/ozpIwc-bus.min.js
	dist/js/ozpIwc-bus.min.js.map
	dist/js/ozpIwc-client.js.map
	dist/js/ozpIwc-client.min.js
	dist/js/ozpIwc-client.min.js.map
	dist/js/ozpIwc-metrics.js
	dist/js/ozpIwc-metrics.js.map
	dist/js/ozpIwc-metrics.min.js
	dist/js/ozpIwc-metrics.min.js.map