fix(client): Replace calls to [].indexOf with _.indexOf for IE8 support.

fixes #1263
Replace the tests that used `String.prototype.indexOf` and `Array.prototype.indexOf` to use `assert.include` for clarity.
Merge pull request #1264 from mozilla/issue-1263-indexOf

fix(client): Replace calls to [].indexOf with _.indexOf for IE8 support.