CDRIVER-3991 Add versioned API connection examples (#805)
CDRIVER-3991 Add versioned API connection examples (#805)

* CDRIVER-3991 Add versioned API connection examples

* Use mongoc_client_new in public examples

Co-authored-by: Kevin Albertson <56185c174072c5b9d2bc60d4d380af34df005bd7@10gen.com>

* Test versioned API samples on 4.9+ only

* Free client and server_api object in tests

Co-authored-by: Kevin Albertson <56185c174072c5b9d2bc60d4d380af34df005bd7@10gen.com>
jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,rcsanchez97/mongo-c-driver,jmikola/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver,jmikola/mongo-c-driver,jmikola/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver