Improve retry logic for Stale Element Exceptions

Better exception retry logic

Change methods to lambdas
Merge pull request #1020 from edx/zoldak/acceptance-exception-handling

Zoldak/acceptance exception handling