Adds a new isValueEqualTo method to SC.SelectView

This method is used by the select view and the menu to check if the
current value and a passed item are equal.
This commit also fixe an issue with array of string items.