Bump up selenium version

Needed to stay in sync with Firefox. This is going to be required
periodically until we switch to using an non-auto-updating version of
firefox, like iceweasel.
Simplify login code
Add plugin function to run setup code for all UI tests
Merge pull request #1465 from RickMohr/ui-tests-clear-caches

Ui tests clear caches