add floating flag to Tab
always release the mouse when removing a tab
simplify tab detach process

remove the need for a separate detachTab method
minor code cleanup
update for tabbar api
abort the drag when removing a dock widget