Merge branch '1.7.9' into develop

Conflicts:
	build.xml
	client/pom.xml
	commons/pom.xml
	commons/src/main/java/com/orientechnologies/common/console/OConsoleApplication.java
	core/pom.xml
	core/src/main/java/com/orientechnologies/orient/core/OConstants.java
	core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java
	core/src/main/java/com/orientechnologies/orient/core/index/engine/OHashTableIndexEngine.java
	core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocument.java
	core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/string/ORecordSerializerJSON.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLResultsetAbstract.java
	core/src/main/java/com/orientechnologies/orient/core/sql/functions/math/OSQLFunctionAverage.java
	core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/OLocalPaginatedStorage.java
	core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/OPaginatedCluster.java
	core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionOptimistic.java
	core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java
	distributed/pom.xml
	distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastDistributedDatabase.java
	distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastDistributedMessageService.java
	distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java
	distributed/src/test/java/com/orientechnologies/orient/server/distributed/TestSharding.java
	distribution/pom.xml
	enterprise/pom.xml
	graphdb/pom.xml
	graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBatchGraph.java
	nativeos/pom.xml
	object/pom.xml
	pom.xml
	server/pom.xml
	server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManager.java
	server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedServerManager.java
	server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java
	server/src/main/java/com/orientechnologies/orient/server/network/protocol/binary/ONetworkProtocolBinary.java
	tests/pom.xml
	tests/src/test/java/com/orientechnologies/orient/test/database/auto/ConcurrentSQLBatchUpdateSuperNodeTest.java
	tests/src/test/java/com/orientechnologies/orient/test/database/speed/LocalCreateDocumentMultiThreadSpeedTest.java
	tests/src/test/java/com/orientechnologies/orient/test/database/speed/LocalCreateDocumentSpeedTest.java
	tools/pom.xml
	tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java