More precise complex :host selectors

Old selectors whould match even if some parents of the host had the attribute/class used.
Merge pull request #1368 from ussuri/more-precise-host-selectors

More precise complex :host selectors in widgets