Example of how to use new Protractor API

The new version of the clickEntryByLexeme function demonstrates how to
use Protractor's new element.all().filter() API: the function you pass
to filter() needs to return not a Boolean, but a *promise* of a Boolean.
Thus you'll write code that looks something like:

element(by.selector).filter(function(elem) {
    return elem.getText().then(function(text) {
        return (text == "What I am searching for");
    });
}).then(function(results) {
    // Either loop over the results, or if you're only expecting one:
    expect(results[0].getAttribute('href')).toMatch("something");
    results[0].click();
});