JAVA-892: DefaultDBCallback performs check against DBRef following mongodb spec

This is a fix, including test coverage, for https://jira.mongodb.org/browse/JAVA-892.

Basically the DBRef check in DefaultDBCallback was checking against $ref and $id key presence when it should be $ref first, $id second, and $ref value must be a String.