Improve retry logic for Stale Element Exceptions

Better exception retry logic

Change methods to lambdas
Merge pull request #1022 from edx/zoldak/acceptance-element-handling

Improve retry logic for Stale Element Exceptions