Update for OrientDB 1.7.7

Removed code referencing non-existent / deprecated classes.
J2EE part should be fairly OK - tests are successful.
Spring has issues - I am not skilled in spring, so I commented that module out, though the code compiles.