Dev: test: add netem support
Dev: test: allow configurable ticket names
Medium: raft: reset ticket leader before elections (bnc#883150)

The server will refuse heartbeat from the newly elected leader in
case the ticket leader is set to local. This may happen if the
server finds itself in the CIB as the ticket leader, but then
still loses elections, because somebody else already started
them.
Low: ticket: print N/A instead of INF on unknown expiry time
Low: raft: remove unused commit_index (bnc#883216)
Dev: test: sleep for at least 2 seconds if the timeout is set lower
Dev: test: sleep a bit between tests
Low: raft: expect rejects after we stopped our elections
Dev: test: take into account possible valid time inconsistencies
Dev: test: wait a bit for the CIB to get updated
Dev: test: add test/env list
Dev: test: move netem to runtest
Dev: test: find out netif for netem
Dev: test: run local commands without ssh
Dev: test: wait a bit longer if there's packet loss involved
Low: raft: shorter wait at startup
Dev: test: make provision for getting report when test passed too
Dev: test: add more logging
Low: doc: reference the default port in examples (bnc#883183)
Medium: raft: make server stepdown more robust

If the external test program fails, we let others start elections
by broadcasting a packet. If that packet gets lost, the elections
may never be started. With this change, the packet is
rebroadcasted again unless the elections got started in the
meantime.