Use mime-types for ruby 1.8
Merge branch 'easysafeinstall' into travis