Multiple callbacks

Added possibility to have multiple callbacks for events and made event functions "private" by adding __ to function names.
(Array.forEach)[https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach] is often a better solution for this.