Fixed: Delegate method of CPTableView aren't call in the good order

Previously the call of the delegate method of a CPTableView weren't call in the good order, specially the selecting method.
Now it works as in Cocoa.
Fixed typos

Test app in Tests/Manual/TableTest/DelegateSelectionTest
Fixed typo
Merge pull request #1999 from Dogild/delegate-CPTableView-Methods

Fixed: Delegate method of CPTableView aren't call in the good order