Improve MIME type guessing some more

- Example magic file that can be installed as /etc/magic to improve guessing for web file types (CSS, JS)
- Added support for setting Content-Encoding for gzipped files (and setting the MIME type based on the compressed data)