Move send_command() into ZuulApp

We can start to remove some duplicate code and make it easier to add
commandsocket support to other processes.

Change-Id: I605ca36b6627ac4fbea960205b9a88abdeed67f5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
3 files changed