Fix issue #2298. Do not copy record during query processing.
Merge branch 'develop' into orientdb-2298

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLInsert.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLTraverse.java
Fixed issues #1094 and #2302
Fixed issue #2279 with Mat's tip
Minor: returned better msg in case distributed storage isn't installed
RidBag deserialization from JSON when @fieldType is provided
Useful for INSERT INTO CONTENT when you want to preinitialize ridbags
Merge pull request #2320 from kowalot/develop

RidBag deserialization from JSON when @fieldType is provided
Distributed: let new OResultSet to be serializable.
Distributed: auto migration form old configuration
Distributed: fixed bug with new cfg
Fixed bug reported by Glenn about traverse's context variables
Issue #2235 was fixed.
JS: improved nashorn fix avoiding catching exception if result is not Map
SQL: fixed sub-query return in case the linked type is LINK
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop
Minor: add comments to quickly turn on debugging
Introduced ConcurrentTestHelper
Improve concurrent test
Merge branch 'develop' into orientdb-2298
Supported locking strategy "default"
Merged branch