apt-get update on travis

failing with 404 on libcurl4-gnutls-dev
remove unused flake8 dev-requirement
cache Content-Type headers

cached content is currently being served as 'text/html'