Separate listeners for custom and DOM components.

Added separated event-listeners into core and into browser as Map. 

Custom class for HtmlAttrs and EvnetListeners will be created later, I didn't have enogh time to do it today.

Again, begining commit of this functionality is 2a90dcd846e926449325ddee4553e7b73946bd6a.