added validation of parameters types in UBQLs, disallow bounding of empty arrays
- added validation of parameters types in UBQLs. For example, if attribute of type Entity compared with parameter of type String server will throw exception "Expression [attrName] should be compared with parameter of type Number but got String"
- server will throw now if the query parameter is bound to an empty array. Before this fix, such binding could cause unexpected errors in some cases