We need to request a vote from ourselves
Merge pull request #63 from justinsb/find_leader

Don't assume leader is #0 in integration tests
We shouldn't have to request a vote from ourselves
Log if we hit the state transition check-safe

We're hitting the invalid state transition check, so log it.

It's a serious error, so we want to log it irrespective of what listeners are attached.
Add the transition to state in there

Otherwise it's a pain to figure out
Yet more logging: RaftStateContext now has a name
We hit an NPE when checking the StateType; guard against it

This shouldn't be possible.  Something is borked.
Yet more logging; trying to track down concurrent leader elections
Get closer to the Raft paper.

In particular, the log up to date logic was wrong, and votedFor must be cleared every new term
Get even closer to the Raft paper
Put self() in square brackets in log messages

At least they're consistent this way.

They really should be in the log's MDC, but that doesn't work with our threading model.
Add BatchExecutor to handle SLF4J MDC
Handle case where MDC is null
Merge pull request #66 from mgodave/batch_executor

Add BatchExecutor to handle SLF4J MDC
Add logback config for tests, with MDC info
Merge pull request #67 from mgodave/test-logging

Add logback config for tests, with MDC info
Merge branch 'upstream' into request_self_vote
Use MDC for self (address)
Merge branch 'request_self_vote' into start_stop

Conflicts:
	barge-core/src/main/java/org/robotninjas/barge/state/Candidate.java
	barge-core/src/main/java/org/robotninjas/barge/state/RaftStateContext.java