Add more cli commands

1. Add `sync` command
2. Add `td-agent-restart`, `td-agent-status`, `td-agent-configtest` ... commands