Adds method getTitle() to WorkbenchPart. Fixes #836