Mongo: Avoid dereferencing a null cursor
Tests: Create macro for mongo_client
Tests: Use a guaranteed bad host name for bad host test
Merge pull request #116 from noa--/mongo_cursor_null

Mongo: Avoid dereferencing a null cursor
Merge pull request #117 from noa--/tests_changes

Tests: Create macro for mongo_client and use a guaranteed bad host name
Merge branch 'refs/heads/official' into gridfs_changes

Conflicts:
	test/gridfs_test.c