orientdb-api.js: fix ODatabase.open()
orientdb-api.js: fix ODatabase.open()

ODatabase.open() made an ajax request for /connect/, but that doesn't return data (any more?). Requesting /database/ gets us the expected reply with the database info object.

wouterv/orientdb,allanmoso/orientdb,alonsod86/orientdb,wyzssw/orientdb,intfrr/orientdb,joansmith/orientdb,tempbottle/orientdb,cstamas/orientdb,mbhulin/orientdb,jdillon/orientdb,wyzssw/orientdb,tempbottle/orientdb,alonsod86/orientdb,mbhulin/orientdb,intfrr/orientdb,alonsod86/orientdb,rprabhat/orientdb,mbhulin/orientdb,rprabhat/orientdb,mmacfadden/orientdb,sanyaade-g2g-repos/orientdb,cstamas/orientdb,tempbottle/orientdb,wouterv/orientdb,giastfader/orientdb,allanmoso/orientdb,wyzssw/orientdb,wouterv/orientdb,sanyaade-g2g-repos/orientdb,joansmith/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,joansmith/orientdb,sanyaade-g2g-repos/orientdb,sanyaade-g2g-repos/orientdb,jdillon/orientdb,joansmith/orientdb,giastfader/orientdb,jdillon/orientdb,intfrr/orientdb,cstamas/orientdb,rprabhat/orientdb,mbhulin/orientdb,tempbottle/orientdb,alonsod86/orientdb,giastfader/orientdb,cstamas/orientdb,orientechnologies/orientdb,intfrr/orientdb,mmacfadden/orientdb,wouterv/orientdb,mmacfadden/orientdb,orientechnologies/orientdb,allanmoso/orientdb,rprabhat/orientdb,giastfader/orientdb,wyzssw/orientdb,allanmoso/orientdb,mmacfadden/orientdb