Send the Content-Length response header for generated files

While this is not really required for usual browsers, it seems that
android's DownloadManager has problems with downloads if this header
is not present.
Don't load the schedule page with AJAX

--HG--
extra : amend_source : d2e1e979440bbae5dae7cb4c0bdaf2f720830abd