Several small fixes & clean-ups

- return 404 if there are no results
- always return an object with an items member, so that we have a namespace
  for paging etc
- fix handling of non-string predicates in buildCondition
- clean up executeCql interface a bit
- improve error reporting