move of detach code to a new bundle and make it more Shell friendly

The main code for detaching a shell is moved to a new bundle and can
be called for a shell directly instead of using the workbench related
Drag&Drop of views.
Update Workbench-Code to use new UnleashedShell + fix some errors