Fixed to the config system to allow Hadoop to run on multiple nodes.

These changes include:

- Making sure config is picklable (no function objects as fields)
- Allowing 'All' as a RunsOn target in addition to the existing Master
  and Slave
- Fixing some config to use masterhostname.