Adds WorkbenchPart interface. Fixes #660

Contains methods common for view and editor
Clear all driver librarfies doesn't work when there is no driver (fixes