Move output API under /api namespace.

Also split out the webserver into separate files.
Silence logging in webserver tests
Initial outputs index view.

Lists outputs with current state.