agent: fixes for startup

Various changes to help track agent logic during startup and allow the
startup to succeed.

Change-Id: I6e0c0dbeb50c2181b29565f0d933ad56ec05bb7b
Bug-Url: https://bugzilla.redhat.com/1018849
Signed-off-by: Greg Padgett <gpadgett@redhat.com>