Mixin Events to Graph.prototype in proto factory.

That way subclasses of Graph won't need to do that themselves.
Merge pull request #56 from andreypopp/0.8.x

Mixin Events to Graph.prototype in proto factory.