input: use `dom` module from bem-core, add tests for _focused mod