Support for DBPointer in bson package

According to bsonspec.org, this is a deprecated type, however there are some mongodump/mongorestore tests that rely on encoding and decoding of objects which contain it. This commit adds support for the DBPointer type and includes a test for it.