fix(protractor): add dummy isPending function

See https://github.com/angular/protractor/issues/1021