Small fixes for Orient 1.0 compatibility.
Merge pull request #1 from s17t/master

Compatibility with Orient 1.0.x -- all existing tests pass
Update to support OrientDB 1.4 . All existing tests pass.
Enable module import
Merge pull request #2 from ghpu/master

Update to OrientDB 1.4
Merge pull request #1 from emehrkay/master

latest from upstream