Fixes an issue for negative BrickElement lock count

There were an issue with the if-statements in
BrickElement#getAndMarkWindow() where the brick wasn't always locked,
although it should have been every time before a persistence row was
created over a record, and yet it was always unlocked after use. This
resulted in negative lockCount on BrickElement. Funny how that didn't
cause problems, such as indefinite wait in allocateNewWindow which
contains a loop that awaits lockCount == 0.

Added an assertion for lockCount being equal to or greater than 0. There
are already some tests that failed by just adding that assertion and not
fix the lock counting issue. That's why this commit has no explicit tests
for the issue.
Don't push Desktop artifacts

As the Maven server doesn't care for it, and it fails the build.
We could fix that on our own Maven server, but it's less likely
that the Maven Central guys will want to do the same.
Merge pull request #1340 from tinwelint/1.9-fix-negative-pwp-lock-count

Fixes an issue for negative BrickElement lock count
Added missing asciidoc formatting.
Test for persistence window pool brick lock issue

See commit 723933f275bc2f366ad82ce95784fb18d29852fd for the commit that
fixed the issue, also description about the fix there. This is a test to
verify that behaviour.
Merge branch '1.9-maint' into 2.0-merge-in-1.9

Conflicts:
	community/cypher/src/docs/dev/syntax/expressions.asciidoc
	community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/legacystore/LegacyDynamicStoreReader.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/legacystore/LegacyNeoStoreReader.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/legacystore/LegacyPropertyStoreReader.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/store/TestPersistenceWindowPoolContention.java
Undo 2.0 vs 1.9 compat hack for nullable properties
Remove unused MarkOptionalNodes
Added the haversin function to syntax highlighting.
Merge pull request #1347 from tinwelint/2.0-merge-in-1.9

Merge 1.9 into 2.0
Set RANGE_PER_PAGE to 4096 for label scans to increase lookup performance
Merge pull request #1349 from cleishm/cypher-compiler

Undo 2.0 vs 1.9 compat hack for nullable properties