Profiler compatibility with cord's optimized browser-init script
Improved profiler timer patching of the framework:
* correctly zone-patched requirejs core function
* added several useful timers for browser-side methods of cordjs
Separated out Profiler widget initialization into root zone to prevent interfering into browserInit profiling data.
Added root profiling timers for the Behaviour DOM event handlers
Fixed not-timely-clearing of setTimeout handler in DomHelper and Widget::browserInit() which helps to make profiling correctly.
Replaced DomHelper::replaceNode with DomHelper::replace and removed obsolete replaceNode function.