moving to karma.
modified the dbEventMngr.
test case for dbEventMngr added.
including all spec files.
dev-dependencies updated.
Merge pull request #3 from SOCRedu/db

Updated dbEventMngr. #TODO: code-style should be corrected (spacing mostly).