Build failure was fixed.
Issue #2539 was fixed.
Merge branch '1.7.7' into develop

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/index/engine/OMVRBTreeIndexEngine.java
	core/src/main/java/com/orientechnologies/orient/core/index/engine/OMemoryHashMapIndexEngine.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLResultsetAbstract.java
	tests/src/test/java/com/orientechnologies/orient/test/database/auto/SQLSelectTest.java