implement generic JtElementsOfClassSelectionFilter template class and replace explicit Wall, CurveElement and Pipe selection filters by JtElementsOfClassSelectionFilter