moved mongoclient definition up to fix client/examples #983
Merge branch 'merge-libs' into merge-libs-master