Tasklogs

This provides infrastructure and APIs for handling the individual logs created when running tasks.
There's something wrong elsewhere if you're having to cast these to integers.  The id, cpus, ram, etc should all be integers by default so you shouldn't need to cast them.