Refactor WindowPreferences

- move it to workbench plugin
- change name to WorkbenchPreferences