Browserstack testing integration (rebased, squashed, tweaked)

Successor to #9039.
/cc @jonschlinkert, @seriema: Is there a less-hacky way to skip the browserstack test when people don't have it installed locally?