parser.writeLong and parser.readLong were wrong: couldn't handle negative number. Fixed copying long.js from https://github.com/mongodb/js-bson/blob/master/lib/bson/long.js
using new parser.decodeRecordType()
first TxCommit impl: (only) sends to OrientDB the right bits for creating new documents