complex queries: doc string added, jslint pass, improved
example-queries updated
add query files to Makefile