style(api): fix typo
fix(protractor): throw index-out-of-bounds

See https://github.com/angular/protractor/issues/915
- to make error more specific instead of propagate later
fix(protractor): make ElementFinder.then resolve to itself instead of null
test(count): test that element.all.count returns 0 if no elements are found