#215: i-bem__dom.js: broken `replace` method.
fix pre-commit hook
i-bem__dom: add tests for `replace` method
Merge pull request #216 from bem/issues/215@v1

i-bem__dom.js: fix broken `replace` method