Bug 413973 - [Viewers] Add generics to the TreeViewer

Generics are added to the TreeViewer to provide a type safty use of
this viewer


Change-Id: I21bb51ccca4625455e56d59766cc687f306bef97
Signed-off-by: Hendrik Still <hendrik.still@gammas.de>