Update to use MongoClient.

The Connection class currently used is deprecated. Also put some
checking in there just in case the port setting is passed in as a
string.
Prep for the 1.2.1 release.