add ability to run mesos as master and slave

This commit enables a setting that sets master and slave on a node. When
master-slave is set, the node runs both as master and slave.
Merge pull request #8 from antonlindstrom/master

- Add ability to run mesos as master and slave @antonlindstrom