refactor mouseHandler, add publish function, add contextMenu for header
refactor dragging of WindowComponent, remove all dirty hacks, fix position of connectionLine to DebugViewer FINALLY,s remove all now useless occurences of wasDragged and isDragged
refactor test helpers, move drag and mouseEvent to helper class, make two more tests asynchronous as the removal is now asynchronous