Set a job's log key at job registration.

This has two effects:

1. It eliminates manual construction of the log key.
2. It lets us operate on the log from Ruby code, which will be useful
   for log trimming.
Implement log trimming as Job#trim_logs!.
Make LogTrimmer trim job logs.

Next up: save them.
Bump pipeline version.