Adds convenience method to allow quick conversion of filter to doctrine expr
Adds improved basic type validation and a type safe getter for criteria