Fix 1144 (Fix and Re-enable some unit tests on dialog, tooltip, and draggable)

This PR replaces #1144.

Note that it did not seem feasible to separate the issues.  Fixing the :focus ones would be a NOP because the dialog tests still could not be enabled because they would fail on the viewPort issue.  ~~So instead I locally fixed the viewpPort issue by specifying a phantomScript option to qunit and including the (minimally modified) version that supports options.page.~~  **Cleaned up to use the now published grunt-lib-phantomjs v0.5.0 via grunt-contrib-qunit v0.4.0 with needed feature**

Hopefully this works.