fix issue where ElementFinder.then does not return a promise

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