fix(client): Abort autofocus events if no element exists with the `autofocus` attribute.

fixes #1109
Merge pull request #1277 from mozilla/issue-1109-autofocus-forever

fix(client): Abort autofocus attempts if no element exists with the `autofocus` attribute.