Purge redundant code, use mimetypes library.
Merge branch 'master' of github.com:mansam/resourceful