Some updates & fixes

updated orientdb version to 1.7.7
fixed the 'missing /usr/local/bin/server.sh' error
fixed log folder lock error