fixed a bug that would reject SearchPattern queries. other minor improvements
generalize the query server so that it can serve queries on multiple projects, each at their own context (url)
now the server takes a config file as input