Update the pretty graph cookbook to use labels

This fixes the output graph that was incorrect because of an isolation bug
where you could read a deleted node in an open transaction.
Make kernel dependencies provided for the Cypher 2.0 compiler, so it can run against kernel 2.1 in the future
Fixed lifecycle handling during slave switch. No longer causes deadlock with concurrent shutdown of database.
Added predicate to wait for all instances to be joined when using arbiters
Merge pull request #1904 from jakub-/pretty-graph-cookbook-labels

Update the pretty graph cookbook to use labels
Merge pull request #1905 from systay/kernel-provided

Make kernel dependencies provided for the Cypher 2.0 compiler
Replace infix, postfix and prefix function expressions with unique AST objects
Updated to correct version
Implementing split function

test refactoring
Merge pull request #1926 from davidegrohmann/2.0-splitfunction

Implementing split function
Merge pull request #1918 from jakewins/2.1-kerneldense

getRelationships, getDegree and getRelationshipTypes to kernel implemenation.
Merge pull request #1927 from cleishm/infix-ast-objects

Replace infix, postfix and prefix function expressions with unique AST objects
Added support for the LOAD CSV clause
Add LOAD CSV support to the prettifier
Add documentation for LOAD CSV
Recognise the LOAD CSV command in the shell
Add LOAD CSV highlighting to the browser
Remove a println from AggregationAcceptanceTest
Add opencsv to LICENSES and NOTICE
Merge pull request #1930 from cleishm/loadcsv

Add LOAD CSV to Cypher
Fixed a couple of issues in BatchTransaction (test util)

so that it can use a configurable intermediary commit size and a progress
listener.