handle new error API of transactional endpoint
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.

--
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
Merge pull request #1539 from benbc/2.0-fix-schema-locking

2.0 fix schema locking
Merge pull request #1540 from lassewesth/manualchangesaroundupgrading

Added instructions for upgrading a database/ cluster of databases from 1.9 to 2.0
Adds test for exceptions thrown when properties are missing
Editing upgrade instructions.
Improve semantic checking of identifier declaration in patterns
Prevent the use of parameter maps in MATCH and MERGE
Remove unused code

Checking if type constraints are upheld has been moved to the new AST
and is not used anymore on the commands side.
Update scala dependencies to stable version 2.10.3
Make cypher base test classes extends JUnitSuite

o This helps running tests from IDEA 13 EAP
removed maven properties for neo4j version, instead relying on version reported by REST API
Added instructions for upgrading a database/ cluster of databases from 1.9 to 2.0