fix cpcollectionview height issue
correction of height calculation
reverseSetValuesFor: handle multiple selection
formatting+nil equality
Don’t create old or new values in KVO change dictionary when doing bindings
Honor options when creating KVO change dictionary
Fixed: Test cases now use correct options for KVO change dictionaries
Merge pull request #2224 from mrcarlberg/kvo_honor_options_when_creating_change_dictionary

KVO now honor options when creating change dictionary
FIXED: Previous commit about explicitely define the observing options broke the abolity to hide buttons in CPButtonBar

This patch ensure to correctly set the options
Fixed: CPSegmentedControl doesn't support small and mini control

Previously, when changing the controlSize of a CPSegmentedControl, Cappuccino didn't have the theme to do that.
Now, Cappuccino supports the controlSize small and mini. Aristo and Aristo2 have new attributes for that.
The attribute theme "default-height" has been replaced by "min-size" and "max-size" (used everywhere else in Cappuccino).
The CPSegmentedControl has now the theme attribute "nib2cib-adjustment-frame".

This pull request fixed alignment issue when adding a CPSegmentedControl from xCode. In the method initWithCode, we didn't care about the divider thickness, now we do. This same method will also add leftovers pixel to have exactly the same size as in xCode. Leftovers pixels are here because FLOOR operation and size of the font.

Manual test in Tests/Manual/CPSegmentedControlTest
Manual test in Tests/Manual/Nib2CibAlignment
Fixed: prototype of method unfocusedSelectionGradientColors is void

Previously the prototype method of unfocusedSelectionGradientColors as void, now it's CPColor
Fixed: CPWindow keeps a reference of its firstResponder when closing a window

Previously, when closing a CPWindow, the window kept a reference of the firstResponder. This things raised an issue when opening a window again and asking the window to make the first responder to the same element as the one we had.

Now when closing a window, the window will update its firstResponder to nil.
Merge pull request #2228 from Dogild/unfocusedSelectionGradientColorsProto

Fixed: prototype of method unfocusedSelectionGradientColors is void
Fixed: style in CPSegmentedControl
Merge pull request #2229 from Dogild/WindowCloseFirstResponder

Fixed: CPWindow keeps a reference of its firstResponder when closing a window
Merge pull request #2226 from Dogild/SegementedControlFixed

Fixed: CPSegmentedControl doesn't support small and mini control
Fixed: bezeled is set to yes when making a right click on a non-selectable CPTextField in a cell of a CPTableView

Previously, when making a right click on a non-selectable CPTextField which is contained in a dataView of a CPTableView set the bezel attribute to yes.

Now, when making this things, Cappuccino will check if the CPTextField if editable or not.
Fixed: hitTest method returns the wrong view in the CPTableView when the selectionStyle is set to CPTableViewSelectionHighlightStyleNone

Previously, when having a CPTableView with a selectionStyle set to CPTableViewSelectionHighlightStyleNone, we needed two clicks to be able to select or click on a control of the cell. Now we only need one click as in Cocoa.

This is fixed by changing the method hitTest and returning the good view which can become the firstResponder.
Merge pull request #2231 from Dogild/TableViewFirstResponderNoneStyle

Fixed: hitTest method returns the wrong view in the CPTableView when the  selectionStyle is set to CPTableViewSelectionHighlightStyleNone
Fixed: arrow cursor when the cursor is hover a CPTextField

Previously, when the cursor was hover a CPTextField the cursor was an arrow till we selected the textField.
Now when the cursor is hover a CPTextField, and if this textField is enabled and editable or selectable we show the selecting cursor. This is the default behavior in Cocoa as well.

Updated manual test Tests/Manual/CPTextField/