Save the polling log with the build cause

This adds the polling log to the build cause so that the 'Polling Log' link on the build page can show it for builds triggered by github instead of getting a blank page.