Update of flexible box defnitions for Windows 8.1
Added forEach functions to utils.js.

New forEach methods allow normal parameter order in iterators while
writing jQuery: $.forEach(function(ctx,idx){…
Minor refactoring of ChUI.js components for DRYer code.