Make tmp dir location on slave configurable

A new field is added to the SlaveTemplate configuration, which allows
overwriting the tmp directory location. In case no value is provided a
default value will be used, which differs between UNIX and Windows
slaves.