Add a testcase for PHP-698 (segfault on MongoClient->close() with open c...

...ursor)