fix(driver-compat) revert commit d045a3ec39bf254d6ee93263ac38467e4413b805
fix(driver, driver-compat) support encoding of c.m.DBRef
refactor(driver-compat) move nested classes out of MongoException