Created parameter validator to allow easy validation of multiple parameters against multiple constraints. Included unit tests

Added another unit test to prove we support different data types and aggregate multiple errors
Merge pull request #2377 from jeroenr/master

Created dynamic parameter validator