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.
Merge pull request #2957 from vmatare/develop

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