Make all exception classes extend MongoException

In the official Mongo client, when for example a MongoConnectionException is thrown, you are able to catch it with a MongoException. mongofill does not currently match this behaviour.

This PR makes all exception classes extend MongoException.