fix(engine) throw Exception on null or boolean

TaskQuery: If you try to add a null or boolean value to a process variable
or task variable compare method (like greaterThan) a Exception will be
thrown now.
CAM-1724