Merge pull request #427 from systay/1.8-maint

Makes sure text output is returned to documentation
Set correct file location in upload script.
Resolves issue with logging statements being printed on console during server startup

Includes conf/ in classpath so custom-logback.xml is available there
Adds skeleton custom-logback.xml on all three packages so logback does not feel inclined to spam the console
Get the license right in the community packaging.
Make sure the linux installer build is happy even if called twice without a clean inbetween.
Explicitly marks the start entry as written

Helps to avoid a whole class of bugs regarding duplicate start entries

This is a backport of https://github.com/neo4j/neo4j/commit/90bda3d4deb47d44ed54625ca6825803825fa7d1
 with an additional change in LogTestUtils adding a required adapter
Stops exceptions from being thrown when slave only instances receive flush notifications

Slave only instances don't do setup but still receive flush requests. This patch makes
 sure flush requests are ignored when slave update mode is none.
Solves issue where StackOverflow would happen from recursive call in ZooClient.writeHaServerConfig()

Now the retry happens only when the exceptions are recoverable and retrying is certain to work.
Makes version check suggest the Oracle JRE specifically
moving lru jar to lib folder
Fix for the cache poisoning issue with relationship chain position

Ensures that WriteTransaction invalidates the cache entries of deleted entities on Command execution
 and not on prepare.
Introduces method TransactionState.patchDeletedRelationshipNodes() which has its concrete implementation
 in NodeManager. That fixes the relChainPosition of affected nodes when they are in cache.
Uses that method when there are relationship deletes, namely in Command application and
 WriteTransaction.prepare()
Introduces tests for the above changes
Updates changelogs

This is a backport of commits 2ad8f36c3950371ae963a40311dd41f52c8b90f5 and
  3b18bfadcf1424c23698cf5d5a0e8691ba1c5e2c from master branch
If Netty version is >= 3.5.7.Final, then call releaseExternalResources on shutdown
Fixes issue with relationship delete cache invalidation, where recovered commands would fail to
 properly update their node's relationship chain position

RelationshipCommand now on execute will, when recovered, read the current store version and use
 that to invalidate/update the cache.
Removes methods from RelatioshipCommand that were not used and since this change potentially misleading
Fixes some formatting in RelationshipCommand

This is a cherry-pick from 8d14dcd4d71e450ed744266b217f514a548855bf
backporting store locking
added test for readonly databases not being allowed to share store files
backporting store locking
Merge pull request #542 from lassewesth/storelockingbackport

backporting store locking
Fixes bug on windows around the new store locker, where the store lock will be attempted to be grabbed twice.

Locks are now grabbed only on store_lock file on windows
Adjusts TestOsSpecificLocks accordingly
Makes the new line character non platform specific, fixes windows failures
Updates changelogs for 1.8.2