Log api

This adds new endpoints for getting the artifacts both for the ``jobs`` ui, and for the ``logviewer``.