Added first round of touch event handling

The touch (iPhone/iPad) and pointer (Win8 pencil) events are now mapped to the corresponding mouse functions. The coordinates for iPad and iPhone are now taken from the "touches" event property.
Android tablets should work the same, but I cannot test that. 
Windows touch events will take a bit longer, but i am working on them.