Add workdir support for the Buildfile

For consistency the Buildfile should have the option to
set the working directory.

Of course that is one option more to the buildfile,
so please tell me if we really want this to happen.
Merge pull request #1581 from mhennings/workdirsupport-buildfile

Add workdir support for the Buildfile