SERVER-9790 Add this.$db || db.toString() to DBRef string representation

Signed-off-by: Benety Goh <benety@mongodb.com>