Partly fixed the problem with resizing and notification.

The ExpandingTextField now notifies its delegate everytime it thinks it
should change size and not when it resizes frame. This solves the
problem when it is embedded in a NSTableCellView. There is now a
problem of the textfield size between its active and inactive state