added an integration test and renamed getFactors to getFactorsByType
Renamed filterParameters.queryFactors in filterParameters.selectedQueryFactors. Also defined new class ExperimentFactors, not yet used though
refactoring and some cleaning starting from Experiment. Introduced FactorGroup and ExperimentalFactors.