FIXED: Crash when hit CMD+Z on a control in a CPPopover

Previously, there were collision in addition delegate bitmask identifiers between CPWindow and _CPPopoverWindow.
This patch fixes this collision
Fixed: CPToolTip still shown when closing window asynchronous …

When closing a windows asynchronous, the tooltip of views of the window could stay shown.
Fixed #2110
Fixed: the way to add the tooltip's window is wrong

Previously when adding a tooltip, we added it to the platformWindow.
Now we add id to the window of the targeted view.

Fixed #2110
Fixed: CPPopover doesn't change his frame when with setContentSize

Previously when we changed the contentSize of an open popover, nothing happens.
Now, we the frame change and it's animated if needed
Fixed: setContentSize doesn't work when called several times

Previously when calling setContentSize several times, the final frame of the view was wrong.
I removed the animation as well. This doesn't work, and need a lot more of implementation.
Merge branch 'PopoverContentSize' of https://github.com/Dogild/cappuccino into Dogild-PopoverContentSize
FIXED: setContentSize: to work when no window is initialized yet
Merge pull request #2112 from Dogild/PopoverContentSize

Fixed: CPPopover doesn't change his frame when changing the contentSize
Merge commit '86d186e2794a9f02e175fdbcc4867c3c08ae56a3' into krodelin