Adding createQuery method as sugar for generating a PredicateGroup for use with QueryBuilder http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/QueryBuilder.html
attempt at whitespace/tab fix
sample script using createQuery
predicates map in example is now a one-liner.
updated to use session from request.
merge.
query builder additions.