Check if there are conflicts on master when running the build

- This is taken from
  https://github.com/alphagov/specialist-publisher/commit/9a097249c142c6e7146706dfd5fc0282c92f4886,
  as a thing discussed in tech lead standup that could be useful and
  passed to me to do via Jamie.
Merge pull request #1020 from alphagov/jenkins_test_merge_result_of_branches

Check if there are conflicts on master when running the build