bson: allow dot keys in bson_has_field().

You can now perform the following:

  bson_has_field (b, "foo.0.bar");