Bug 414057 - [Viewers] Add generics to IStructuredSelection

- Added Generics support to IStructuredSelection
- Added Generics support to StructuredSelection
- Added Generics support to ITreeSelection
- Updated Snippets 005, 022, and 053