Added database support for events operations

you can edit, add, and delete.  Still need to do RPC stuff for these.