Add touch event handler

- Add a basic device tests that help in deciding touch support.
- Add window and document aliases to shrink further js scripts while
  minimization.
- Extend BNF (v2) with touch-move and touch-change events.