adding support for query bindings in the REST interface, domain model and DAOs