Add event listening to documentation

An example on how to do event handling in dommy. This took some googling to find out how to actually do it so I figured I'd make a pull request for other searching for the same thing.