More work on mime type guessing

- Works with another variant of the python magic library
- Also guesses Content-Encoding, which is useful when uploading gzipped web content
- Sample magic file for getting better detection of web file types. This is very rudimentary as I'm not an expert in writing libmagic rules...