Detection improvements: Fix click simulation.
Detection improvements: Fix click simulation.

Problem:  Newly detected elements show that click simulation does not
          work sometimes. That seems to be caused because we only fire
          the 'click' event, while a real click usually involves more
          events (mousedown, mouseup, etc).
Solution: Imitate real click as much as possible, firing all
          associated events.

guyht/vimari,lsqtongxin/vimari,SampleLiao/vimari,guyht/vimari,lparry/vimari,lsqtongxin/vimari,ChrisLTD/vimari,rasmusjp/vimari,ChrisLTD/vimari,tzhongyuan/vimari,guyht/vimari,SampleLiao/vimari,rasmusjp/vimari,lparry/vimari,tzhongyuan/vimari,nickeyfff/vimari,nickeyfff/vimari,ChrisLTD/vimari