Improve touch detection

Copy of modernizr's touch detection.  see https://github.com/Modernizr/Moder
fixes #56