Improve the selection tab algorithm after removing the selected tab
(#6876)

New protected method TabSheet.selectedTabIndexAfterTabRemove
where anyone can implement his/hers own algorithm for selecting
a new tab.

Change-Id: I6a3dd62e7fc84e4dacb08d30d567f357678dd7e4