Initial support for API requests via logs endpoint

Initial support for API requests is added via a redirect to the actual API endpoint via the logs endpoint.

Future work will need to be performed to move the API endpoint away from `mochiweb` and into a `cowboy` handler.