Fix documentation error

[ci skip]
Fix broken refresh feature detect

Fixes theintern/intern#216
Refactor some feature detection tests

This moves out a couple feature detects that were inappropriately
lumped in with a device touch API support, and converts remaining
uses of Promise.Deferred into direct Promise construction
Fix IE test failures
Fix test failure in Firefox 31/Selenium 2.42.2