agent: logging HTTP API

HTTP endpoints and tests for the logging api.

-jeff
Yup.  I added error handling.  I've also updated Bernerd's method for the ContainerStream handler.