fix duplicated css dependencies

only use CssByJs asset dependency in specified paths, by default for paths
where ext4 is used
port some onContentReady to onElementReady

- improves performance as much less dom queries have to be done
- also add some names to anonymous functions for easier profiling
don't recursively call onContentReady

this makes profiling much easier as we don't get a deep stack.
Performance shouldn't change
don't call getWidth twice, cache it

getWidth might be a expensive operation if it triggers a reflow
performance: don't create img in javascript, only alter the src
ViewAjax: use layout auto to avoid inline width style

required for responsive layout, has been solved previously using width: auto !important
Lightbox: use onElementReady

avoid quering for kwfLightbox
performance: avoid creating Ext.Element, use dom node directly
improve onElementReady performance

- add variants: onElementShow, onElementHide, onElementWidthChange
- call for deep elements last and only once
- use jquery for selecting (improves performance)
- add benchmark numbers
add option to defer onElementReady

this defers initializing that element for 100ms after load
performance: defer init of more components
Kwc_Form: use ResponsiveEl breakpoints as used in css

this allows having no breakpoints at all if none of the default styles are used.
And this improves performance of search box as it doesn't require responsive breakpoints
improve benchmark box

- allow hiding/showing it, state is saved in cookie
- allow javascript profiling
avoid getting element width as often as possible

to avoid that add a data-width property using that the html can define that it uses 100% of it's parent
use new benchmark functionality for initial callOnContentReady
optimize ie8 performance by avoiding unneccesary dom queries

search the element innerHTML for possibly matching string, if none is found the query can be skipped
process deferred callbacks in chunks

this should give the browser time to response to user input.
min chunk time is 50ms to avoid too many chunks which would slow down init
remove scope parameter from onElement methods

- scope can be specified in options if required
- compatibility code keeps old arguments working (not added for new methods)
don't pass deferred as option as this wouldn't work correctly for recursive calls
more output in benchmark box: print individual fn by name