Parse attribute selectors with comma

Fixed selector parser to parse attribute selectors with/without comma properly.
Test included.