added links to index and constraints to rest api root
added index listing
added list of rest api surface endpoints
Master generates and propagates an epoch

that slaves must use for all further communication with it, or fail with
InvalidEpochException. This is to prevent the scenario where one part of a
transaction or commit communicates with one master, there's a master
switch where the new master instance uses the same host and port as the old one.
If a transaction would continue through such a scenario then unexpected
things and bad things might happen.
Removes synchronized block around commit

that was introduced by 9b7384ad2f69d9c3a768fe59480a44230214cb81.
Since then these committs: a88607cbe23d8146d8540d62061276866d2b1d02,
b76f8e34f7184e1457e37f6da6137bfbde79c3e5 have addressed the underlying
issue so that the synchronization is no longer needed.
Merge pull request #1794 from tinwelint/2.0-master-token

Master generates and propagates an epoch
Simplify failure handling in StartupTimeoutFunctionalTest.
Unique constraint verification: Use document frequency

This is provided directly by lucene so we don't need to maintain an
external term counter.
Depend on the correct Java version

The Oracle JVM has a different package name, which will be addressed
in a future commit.
Merge pull request #1804 from apcj/term-freq

Unique constraint verification: Use document frequency
Merge pull request #1749 from lassewesth/restapiindexlink

added links to index and constraints to rest api root