Use 'mime' module for content-type detection
Remove unused import
Switch to old-style version spec
Merge pull request #10 from davidaurelio/master

Switch to mime module for content-type resolution