updated mimetype
Merge pull request #42 from ajstanley/7.x

updated mimetype
Prevent the module from removing other modules variables, also removed an unused variable.
Work in progress.