move sql event driver to event tree

this patch moves the event related code to the sql driver in event
tree

Change-Id: I6d45768a1de1b2b3f679b5b5ae9dc68b54b63022
Partially-Implements: blueprint dedicated-event-db
Merge "move sql event driver to event tree"