Refs #68; Added onAll and offAll for easily register multiple events at once.