Send chunk numbers and final in log payload
Send different chunk numbers after splitting logs for pusher
Send final == true only for last chunk after splitting log for pusher
Use also type when querying Artifact by job_id

We have an index on (type, job_id), which is not used effectively when
querying only by job_id.