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.
haha yeah my bad. I hadn't noticed it was in test/. That's what you get when I decide to come back from vacation with a code review streak.