bemhtml: backport !this.elem feature from 0.3

see #341