mod_base: added touch punch to enable drag/drop and other touch events on mobile touch devices. Fixes #597

(cherry picked from commit 4c8b11ed94752103b82eb681dfd3f8accf8dff44)