Backport mobile fixes to 1.7

Backport of https://bugs.dojotoolkit.org/ticket/16730 and https://bugs.dojotoolkit.org/ticket/17388 to 1.7 branch.

It still takes two clicks on a Select (not ComboBox) widget to select something from the drop down.   Not sure when that was fixed but it's not included in this pull request.