Filter validation, first try
Usage of  in validation
added normalization for filters from scalar to array
Refactored filter & tests
Merge branch 'filters'