Fix parsing of selectors with commas in functions

For example: .foo:matches(.bar, .baz)

Thanks to @phosphoer (see #81)