ovs_appctl_compgen: Makes the ovs-appctl compgen script generic.

This commit makes the completion script more generic.  Basically, it
detects all possible target daemons for ovs-appctl and allows completion
script to extract subcommands for each type of daemon.

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