close tab with middle mouse button
place event in 'onmouseup'
avoid fallthrough in ONMOUSEDOWN
Merge pull request #258 from rstudio/feature/middle-mouse-close-tab

close document by clicking tab with middle mouse button