Fixes GH issue #8
Refactor 'depends_on' helper into Util
Rework file-handling to use MIME detection, rather than filehame hinting
Support MIME detection