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

If the optional `$db` argument is specified in the [$DBRef](http://docs.mongodb.org/manual/reference/database-references/#dbrefs), prepend it before the collection name.  Otherwise, prepend the current database before the collection name.