added .on() .off()  method functionality to Graph.Database and Graph.Entity