Set timeouts.
Fixes https://github.com/ibm-js/deliteful/issues/414 and other SwapView fixes:
- changed swipe implementation: set transforms and do transitions fully in JavaScript instead of modifying CSS rules dynamically (which causes security errors when loading CSS cross-domain, for example when the deliteful lib is hosted on a different server than the web app);
- changed default swapThreshold from 0.5 to 0.25;
- handle "pointercancel" events to fix problems when user clicks a scrollbar inside the SwapView on desktop;
- changed touch-action from "none" to "pan-y" to allow vertical scrolling inside the SwapView (for example, a scrollable list).
Fixed jshint warning.
Minor: for consistency, use /* */ style for jshint options
update to version 0.5.1
got rid of dojo/_base/lang
got rid of dom.byId
got rid of domStyle
replaced dojo/keys with delite/keys
got rid of dojo/dom-construct
replaced dojo/dom-class with jquery fixes #403
removed old references to dojo/domReady in doc
removed remaining refs to dojo/sniff