Add a way to format a patch from a workspace
Background
After editing source code in a workspace, it would be nice if BuildStream provided a way to export a diff/patch of the changes, so it could be easily applied to the version being used in the build.