Expose the ServerType and ClusterType enumerations for public consumption

Expose the ServerType and ClusterType enumerations for public consumption. Re-use the private method that was used by the ServerMonitor class to determine the ServerType for a DB or MongoClient.

The motivation for this request is discussed in the support ticket here:
https://jira.mongodb.org/browse/CS-14347