initial API redirect from logs endpoint
initial support for API requests via logs endpoint

Inital 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.
add live upgrade path

Split dispatch for easier live update, but left a hardcoded copy of the
dispatch rules.
Merge branch 'logs-to-api'