SERVER-9713 Port some BSONObj accessors to accept StringData

Accessors ported:
- getIntField
- getBoolField
- getStringField
- getObjectField
- operator[]
- getFieldUsingIndexNames
SERVER-9713 Rewrite BSONObj::getFieldDotted to accept StringData