Removed OrientDB OGraphDatabase API dependencies

This is the first step to upgrade to OrientDB 1.7