Add focus mixin

Add mixin for use in active/focus/hover pseudo events that emits correct selectors depending on the target browser.
Fixes gh-1293