Generic click handlers now ignore middle and right mouse button (fixes #2732) and added booleans for pre-IE10, pre-IE9, pre-IE8 and pre-IE7 to simplify the handlers
Merge pull request #2737 from pjackson28/middlerightbuttonfix

Generic click handlers now ignore middle and right mouse button (fixes #2732) and added booleans for pre-IE10, pre-IE9, pre-IE8 and pre-IE7 to simplify the handlers
Resolved merge conflicts.
Resolved more merge conflicts.