CBLQueryBuilder fixes/improvements

* Wrong query was generated for some cases that have compound keys: should have been using prefix-match.
* Now using Query.prefixMatchLevel for the above queries, and for string prefix matching.
* explanation method now prints square brackets for arrays, not curly braces.
* Generated view names start with "builder-", not "planned-".
* Added simple unit test for explanation method.