Fix spelling errors that affect internal APIs.
Use JSTemplate where relevant in server/command/web/*.java .
Miscellaneous whitespace/comment fixes.
Implement non-web-view support for touch operations.

Implement non-web-view support for:
- touch/click
- touch/doubleclick
- touch/longclick
- touch/scroll
- touch/flick