A class that can create an Ldap query. It's given a query to start with,
plus a query_props table that contains parameters from the XML file, and the
parameters table from cocoon that notably may contain a HttpServletRequest
object keyed from "request".
adapted from Donald Ball's SQLProcessor code.