Added test for slave-only instance being elected coordinator
Fixes so that slave-only instances not only try not to win elections, but actively don't switch to master in the case they are coordinators (e.g. because the instance created the cluster)

Conflicts:
	enterprise/ha/src/main/java/org/neo4j/kernel/ha/HighlyAvailableGraphDatabase.java
	enterprise/ha/src/test/java/org/neo4j/ha/TestSlaveOnlyCluster.java
Logging performance optimizations:
* Fixed custom Jetty logger to caches isDebugEnabled
* Changed LogbackService to cache isDebugEnabled
* Added isDebugEnabled check before toString() in GCResistantCache

Only add security filter if there are security rules
Fixed merge issues
Merge pull request #2341 from rickardoberg/slaveonlyfix2

Slave-only instances no longer becomes master
Fix up the merge conflict resolution
Merge pull request #2366 from systay/merge-fixup

Merge 2.0-maint into 2.1-master
Remove the QueryPlan factories from projection plans
Add availableSymbols back to logical plans
Removed uses of coveredIds
Merge pull request #2348 from rickardoberg/optimizedlogging4

Optimize logging and HTTP filter
Merge branch '1.9-maint' into 2.0-merge-1.9

Conflicts:
	community/server/src/main/java/org/neo4j/server/logging/JettyLoggerAdapter.java
	community/server/src/main/java/org/neo4j/server/web/Jetty6WebServer.java
	enterprise/ha/src/main/java/org/neo4j/kernel/impl/cache/GCResistantCache.java
Merge pull request #2372 from jakub-/queryplan

QueryPlan refactorings
Merge pull request #2375 from chrisvest/2.0-merge-1.9

2.0 merge 1.9
Remove subqueries from QueryGraph by introducing a lookup table for subqueries and an optional field for optional match
Fix: ronja should fail if there are more than a single predicate expression in or in a where clause
Show CSV files in example. Fixed duplicate entry.
Merge pull request #2371 from davidegrohmann/pattern-predicates

Remove subqueries from query graph
Allow Ronja to handle WITH
Inline projections even in the presence of SKIP and LIMIT