fixes for view events
generic extend function
normalize order of arguments for Bo.Util.each callback, add unit tests for Bo.Util