client: add mongoc_get_database_names().
examples: add example similar to mongodump utility.

This program will serially find the available databases and then go and
dump them to .bson files in a known filesystem hierarchy. It does not
extract metadata to json, however.

Only rudimentary argument parsing is provided.