DATAJPA-405 - Guard against null predicates on query creation.

We now only call CriteriaQuery.where(…) if the predicate we handle is a non-null value. Adapted Jpa(Count)QueryCreator accordingly.