WEB-9563 BEM filter works incorrect with several element names.

BEM-filter loses all modifiers and inserts only the first element If class contains several element names.
Now bem-filter able to parse classes with several elements.

See http://youtrack.jetbrains.com/issue/WEB-9563 for details.