Try to protect from StaleElementReferenceException in is_displayed

I noticed that this happened in last Jenkins build in `test_ldap_auth_and_roles.py`.

If the passed locator is retrievable multiple times (string, ...), it is tried multiple times. Ignored with WebElement, as it is already broken if it raises StaleElementException.

**I could not reproduce this on my laptop**
yep. I can lower the number. I would say 2 would be all right (element goes wrong, so 1. retry to fix it and eventual 2. retry to have "spare retry" for really nasty behaviour of JS/Selenium)