Ensure DBRef have DB set.
Merge pull request #9 from mathieubodin/master

Ensure DBRef have DB set.
formating
Merge branch 'master' into binary