Refactored touch and events handling, added support for Webkit and MSPointer-based multi-touch gestures.