[Android][SysApps] Support 'onxxx' event handler for display and storage

This commit fixes two things:
1. The type name in the addEventListener() should be 'attach' instead of
'onattach' according to the W3C spec. Same as 'detach', 'connect' and 'disconnect'.
2. Support 'onxxx' event handler, for example:
navigator.system.onattach = function() {...}
Merge pull request #1108 from fyraimar/new_add_listener_method

[Android][SysApps] Support 'onxxx' event handler for display and storage