Updated dbEventMngr.

The eventMngr had some issues regarding mapping of msgs to methods in the msgList.  Karma unit testing has also included. Ideally karma inclusion should have been done in dev branch.
All the db test cases are passing. There seems to some issue in few core and mediator test cases. I will raise relevant bug on JIRA.