Allow test against ruby 1.8

Force mime-types to version < 2.0 for ruby_18