pass a config object to commands

Instead of passing a procfile and a server to commands pass a config object.
It prepare the replacements of gafferctl by one command so we don't rely on
the procfile existence and can still dialog with a gafferd node.