get a proper response if middleware not installed

if objectquery middleware is not installed on object or container server some nonsense responses can come out
now proxyquery will try to detect that and issue HTTP 503 with a proper error message
Merge pull request #64 from pkit/bug_fix

get a proper response if middleware not installed
fix bug in parsing daemon config

quite a bad bug was left after refactoring variable names for proxyquery
test added
Merge pull request #66 from pkit/bug_fix

fix bug in parsing daemon config