Convert MongoClientURI to case class.

This provides an implementation for .equals(), .hashCode() and others.