improve touch detection

Copy of modernizr's touch detection.  see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js

fixes #56