handle new error API of transactional endpoint
Document shell schema command as a way to list indexes and constraints
Translate key ids to names in getProperty().

When rethrowing exceptions for properties not found, the property keys
need to be translated from internal ids to user friendly names.
Merge pull request #1523 from boggle/master

Document shell schema command as a way to list indexes and constraints
Deprecated user-exposed internal SPI, removed uneccessary utility method in ConstraintType.
Introduces a tiny sleep in the loop that checks HA availability

to avoid heavy CPU busy-wait
Merge pull request #1530 from tinwelint/2.0-no-availability-busy-wait

Introduces a tiny sleep in the loop that checks HA availability
Initialize transactions on master as late as possible.

o Remote transaction is no longer created on enlist, because read transactions are now enlisted as well, plummeting performance.
  Instead, the slave tracks a flag for whether the remote transaction is initialized or not, and then only initializes on two points,
  either when the first lock is grabbed, or right before the transaction is pushed to the master.

o This part of the code can be further refactored once JTA becomes an orthogonal concern and the domain logic for HA is all contained
  in one data source. Until then, this will hold the fort. For an intro to the conundrum here, see the comment in TransactionState around
  the methods tracking if the remote tranasction is initialized.

o Added Monitors and test for HA slaves pull update behavior.

--
Add diagnostic output to manual build.

When documentation generation fails in the manual, include query profile
information in the failure output. This will help debugging queries that
fail in the documentation generation.
Fixes AsciiDoc syntax and tweaks the content for shell docs.
Simplify LockingStatementOperationsTest.
Add missing tests to LockingStatementOperationsTest.
Take a schema read lock before checking for constraint violations.

o This was the intention of the previous design but it was not working as intended
   because of the way the operations cake is structured.
o We need to take this extra lock explicitly rather than relying on natural locking in
   schema operations because calls to schema operations from entity operations in
   lower layers of the cake do not go through the entire cake.
o The trigger for making this fix was a ConcurrentModificationException from
   ConstraintEnforcingEntityOperations when the set of constraints is modified under
   the feet of the constraint iterator.
o This change means that some entity operations will now block when schema operations
   are happening. Tests that asserted otherwise have been deleted.
Simplify TestLockManagerBean so that we can understand failures.
Remove unnecessary locking in ConstraintEnforcingEntityOperations.

o We always take the schema read lock when we get hold of the
  IndexDescriptor, so there is no need to acquire the lock before
  using it. It woud be incorrect to do it the other way round because
  the index might be deleted between getting the descriptor and using
  it.
Remove debug stdout logging from test.
Added instructions for upgrading a database/ cluster of databases from 1.9 to 2.0
Updating Cypher expression docs. Fixes #1521
Merge pull request #1520 from thobe/2.0-translate-property-keys

Translate key ids to names in getProperty().
Merge pull request #1539 from benbc/2.0-fix-schema-locking

2.0 fix schema locking