cgproxy: add --check-master to check whether cgmanager is running

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>