SERVER-8210 Cannot insert new documents to mock server after doing a query

Changed implementation to use vector instead because BSONArrayBuilder cannot be modified once done() is called on it.