Autofocus sensible elements when using a browser that does not have touch events.

* Add a base.js unit test to test for focus events.

fixes #205