Start building out the base api for pluggable daemons

This is the start of abstracting the base code for the master and
minion allowing for non-zeromq transports to be used for full
functionality