ovs-appctl-compgen: Add unit tests.

Signed-off-by: Yeqiao Wang <ee07b291@gmail.com>
ovs-appctl-compgen: Use ovs-appctl dpctl/dump-dps instead of ovs-dpctl.

Signed-off-by: Yeqiao Wang <ee07b291@gmail.com>