Change MongoDB connection to use MongoClient class,

 following http://api.mongodb.org/python/current/api/pymongo/connection.html ;

Add support to configure username, password and database name for
MongoDB in mongodb.py and reporting.conf