Add master.Config type and cleanup master configuration

Setting up a new master.Master instance requires passing
around too many arguments.

Add a master.Config type and group related master configs.
Refactor all commands to instantiate new masters using a
master.Config struct.
Merge pull request #642 from kelseyhightower/cleanup_master_configs

Add master.Config type and cleanup master configuration