#479 Added validation of model properties and casting to specific types
#479 WebAPI filtering: added filtering exceptions, convertions and casting to proper types