Pulled apart a flag method into two better methods

The method getPrimitiveElement(boolean) uses a flag to substantially change the method's behaviour. This hides intent, see: http://martinfowler.com/bliki/FlagArgument.html

Took the opportunity to let Intellij clean up the class from unused and unnecessary code.
Increased timeouts. Hopefully less flaky
Fixed concurrency bug
Exposes RequestContextFactory from the HAGD DependencyResolver
Pull update now happens on slave startup, before allowing any transactions

There was an edge case where the slave would start up and the moment the
 constructor returns, before any update pulling has happened, a bunch of
 transactions would start and all would attempt to pull updates as part
 of initializing them. If the slave was too far behind in txs, this would
 impose a considerable load on both the slave and the master, deteriorating
 service for noticeable spans of time. Moreover, most of the data transferred
 would be thrown away, as only one tx would apply the received tx stream.
 This fix makes sure that before any transactions start the slave will
 pull updates, no matter what. This is single threaded operation so it
 won't impose any extra load.

Adds a test for the above.
Removes unneeded echo from utils script
BatchInserterImpl now uses the StoreLocker to lock access
Fixed tests and error messages
Tagging for version 1.9.1
Back to development version.
Adds more standard bash prompting variables, such as \d \v and \t

Also pulls up bash variable interpreting into the abstract server code
with the ability for sub classes to add custom variable interpreters.
Merge remote-tracking branch 'origin/master' into 2.0

Conflicts:
	README.md
	community/cypher/CHANGES.txt
	community/cypher/src/main/scala/org/neo4j/cypher/internal/parser/v2_0/Expressions.scala
	community/cypher/src/test/scala/org/neo4j/cypher/CypherParserTest.scala
	community/cypher/src/test/scala/org/neo4j/cypher/ErrorMessagesTest.scala
	community/kernel/CHANGES.txt
	community/kernel/src/main/java/org/neo4j/kernel/impl/core/NoTransactionState.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/core/TransactionState.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/core/WritableTransactionState.java
	community/kernel/src/main/java/org/neo4j/unsafe/batchinsert/BatchInserterImpl.java
	community/kernel/src/test/java/org/neo4j/kernel/StoreLockerTest.java
	community/kernel/src/test/java/org/neo4j/kernel/TestGuard.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/core/NodeImplTest.java
	community/kernel/src/test/java/org/neo4j/unsafe/batchinsert/BatchInserterImplTest.java
	community/server-api/src/main/java/org/neo4j/server/rest/repr/RepresentationType.java
	community/server/CHANGES.txt
	community/server/src/main/java/org/neo4j/server/AbstractNeoServer.java
	community/server/src/main/java/org/neo4j/server/rest/repr/ServerListRepresentation.java
	community/server/src/main/java/org/neo4j/server/rest/web/RestfulGraphDatabase.java
	community/server/src/test/java/org/neo4j/server/WrappingNeoServerBootstrapperDocIT.java
	community/server/src/test/java/org/neo4j/server/rest/paging/PagedTraverserDocIT.java
	community/server/src/test/java/org/neo4j/server/rest/web/PagingTraversalTest.java
	community/server/src/test/java/org/neo4j/server/rest/web/RestfulGraphDatabasePagedTraversalTest.java
	community/server/src/test/java/org/neo4j/server/rest/web/RestfulGraphDatabaseTest.java
	community/server/src/test/java/org/neo4j/server/security/TestKeyStoreFactory.java
	community/server/src/test/java/org/neo4j/server/security/TestSslCertificateFactory.java
	enterprise/ha/src/test/java/org/neo4j/ha/TestPullUpdates.java
	packaging/standalone/src/main/distribution/shell-scripts/bin/neo4j-backup
	packaging/standalone/src/main/distribution/shell-scripts/bin/neo4j-shell
	packaging/standalone/src/main/distribution/shell-scripts/bin/utils
	packaging/standalone/standalone-advanced/src/main/distribution/text/advanced/CHANGES.txt
	packaging/standalone/standalone-community/src/main/distribution/text/community/CHANGES.txt
	packaging/standalone/standalone-enterprise/src/main/distribution/text/enterprise/CHANGES.txt
Merge pull request #907 from tinwelint/2.0-shell-interpreters

Add standard bash promp variables, such as \d \v \t to shell
Ensure predicates are applied during matching

Currently null checks are done separately, which is inconsistent.
Normalizing this behaviour for 2.0
Update documentation