improve tests coverage
remove using of context in legacy, improve jsdoc
refactor DOM.extend and DOM.ready to reduce code size, drop _.extend
decrease EventHandler code size