TreeViewpointFilterProvider: check PlatformUI.isWorkbenchRunning()

* For headless Unit Tests
* Check PlatformUI.isWorkbenchRunning() before adding PartListener
[Find/Replace] Initial support for TreeModelView and Unit Tests