use classify function for mimetype detection
fix function if python knows the mimetype
Merge pull request #39 from collective/tt-contenttype

use classify function for mimetype detection