Merge pull request #3 from nuvolabase/master

update from nuvolabase repo
try to solve #1308
Merge pull request #4 from nuvolabase/master

update from nuvolabase repo
Create Function console command

Fixed missing command in available commands

Added parameters to the existing command parser
Contribution by Janos Haber for the Scala binding
Failed tests has been fixed
Add missing softly closed flag to clusterStateHolder
Replace exclusive lock with shared so that backup task can bee performed while database is running
Merge pull request #1487 from gmandnepr/master

Test fixes + OLocalPaginatedCluster + File lock changes
manual merge
Fixed bug on size() against OMultiCollectionIterator
Merge branch 'master' of git://github.com/giastfader/orientdb into giastfader-master
New version of WAL with better performance characteristics was implemented.
Fixed bug on negative cluster id
Endianess align between native and direct memory serialization was implemented.
HTTP: fixed issue #1490 bug on delete record called in batch mode
Merge branch 'master' of https://github.com/nuvolabase/orientdb
Updated Graph libs
Added JAVA_HOME to shell scripts for Unix
Merge pull request #1491 from kaysy1994/master

I added JAVA_HOME to the unix scripts for OrientDB.