Refactor default variables into a params class.
Determine the IP address to listen on in params.pp, not the template. Allow it to be overridden when including mesos::slave or mesos::master.