Added scrollRectToVisible when CPTokenField becomeFirstResponder
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
Make the cached list of inexistent custom cibs an ivar
makeViewWithIdentifier:owner: search for a custom cib in owner's bundle or main bundle if nil. (was main bundle)
Do not search for custom cibs if we are in a cell-based table view
NSNib.j : use a UUID to create the temp nib file (for safety). Remove ref to NSTableCellView in info message
ViewBasedCib example now uses a separate table delegate, which is the owner of table cell views.
It shows that the loaded view (intenal or external) has an outlet owned by the table delegate and is available for initial setup in -awakeFromCib
Code style following alexander comments
Do not enqueue editing data views. No need to clean FR and action if it is not enqueued. Clean up corresponding code.
Adds a binded popup to the ViewBasedCib example.
nib2cib allows CPCheckBox and CPRadio to have themed height and adjusts it correctly
Merge branch 'master' into scroll_before_focus_text_field

Conflicts:
	AppKit/CPTokenField.j
CPCollectionView : Allow the prototype view to be loaded from a cib

With this commit CPCollectionView can load subviews from an external
cib. Outlets, actions and bindings between the view and the
prototype are restaured when the view is loaded.
CPCollectionView test. Nib test and bindings test.

Bindings:
collectionView CPContentBinding -> arrayController.selectedObjects
prototypeView CPValueBinding -> owner.representedObject
Update min/maxItemSize lazylly instead of subclassing -awakeFromCib

Binders can set values before -awakeFromCib. We were too late
and the bound content was not visible.
Partially rewrote layout.

it is not optimal but certainly better than the previous  version. A
collection view was unusable when resized through its scroll view.
Freeze autoresizingMask

The mask is 0 and cannot be changed.
Cocoa allows any value but ignores them for layout.
-setItemPrototype:
    Do not cache removed items in -reloadContent when the item prototype changes.

maxItemSize:
    Interpreted as horiz/vertic expandable when zero size and the proto view has a CPViewWidth|HeightSizable. (per cocoa but not documented).
    maxItemSize height support.

Fixed: incorrect position when num items < numberOfColumns.

Rewrote layout engine. Splitted the computation of size, columns count, rows count from the actual layout where we set the frame.
This will help when/if we support insertion/mutation of  -content or view animations.
We can also be more lazy when the computation results stay the same.

Added shared -init. Whitespace cleaning.

CPCollectionviewCibTest:
    Add ability to set the 2 kinds of prototypes, one loading its view from a cib, the other with a view outlet in the same cib.
    Loaded protoype: the bound textfield can commit its value to the model.
    UI for setting maxNumberOfColumns|Rows min|maxItemSize
test app: CPSelectionIndexesBinding test
Merge branch 'CPCollectionView-dragged-view' into CPCollectionView-dragAndDrop