Add webservice to query command

- use the same query mecanism as for jobs or rendernodes
- intended to let the renderfarm admin to retrieve 'old' commands to check false RUNNING jobs
- fix wrong json import
Make query commands asynchronous

- change filters to be a generator
- add callbacks in handler to use generator
Merge branch 'feature/queryCommands' into develop