Update orientdb.js

encodeURIComponent for complexe request against OrientDB