Tasklogs

This provides infrastructure and APIs for handling the individual logs created when running tasks.
Rename item -> log and use that directly so we don't have to keep an extra reference around.