Added the first query spiff that performs predicate evaluation.

There are a few more changes needed in the spiff-creation code and instantiation. Specifically, multiple versions of the spiff (proto) need be handled and
the IDs of these versions should be properly redesigned in concert with SRM.