feature(test): Add a `/clear` route that clears browser state.

* Used in the selenium tests instead of running `unsafeEval` or `eval`

fixes #1285 

@zaach, @pdehaan or @vladikoff - wanna have a look?
Same as above, re: `clearBrowserState(self);` vs `clearBrowserState(this);`.