partially working JSON frontend

lists channels and days, not yet actual lines
[json frontend] fix rendering of day pages
[json] proper content-type