droonga-engine: make command as a library