Error build immediately on parse error

This creates the build, job and a log with an error in it.

Adding tests for this, more stuff coming, WIP and all that.