Merge pull request #62 from moeffju/feature/fix-travis-temp

Fix Travis build / fix tests (temporary fix)
Merge pull request #61 from moeffju/feature/minify-only-requested

Only process response if the request reached htmlmin
Split middleware into two to accommodate Django's ordering issues

Django calls middlewares top-down during a request and stops at the
first one that handles the request. In the response phase, *all*
middlewares are called. So we need to *mark* the request after
FetchFromCacheMiddleware has run, giving it a chance to return the
cached content (then our mark will never be set), and we need to check
if we should minify before UpdateCacheMiddleware runs, so we can minify
the response before caching.
Merge branch 'feature/split-middleware' into all-features-merged