Fix an issue with lowercase privileges.

This fixes the case where a user passes in lowercase privileges and
we incorrectly assume this means a change and reapply them.
Force mime-types to < 2.0 as this no longer works on Ruby 1.8.
Merge pull request #342 from apenney/fix/privileges

Fix an issue with lowercase privileges.