Splits mongo storage code base

Move methods and classes that just helper around pymongo into
mongo/utils.py

This a preparation work to have mongo helper method that can be shared
between alarm and metering storage driver.

Partial implements blueprint dedicated-alarm-database

Change-Id: Ib359ce4c69b1310577e0481a380d5438f08ed597
Merge "Splits mongo storage code base"