pmctl: add a control CLI to pm and supervisor

@sam-github @kraman I merged #14 too hastily, it seems. I've reverted it, re-branched, and cherry-picked the original commit.