getGenericList improvements:

- joins can be done using custom foreign key
- a total number rows can be optionally compute
- possibility to use sql functions as value into WHERE/HAVING clauses
Add pattern tests into Constraint::isString() checks
Fix small bugs on Constraint::isInteger() and Constraint::isFloat()