fix for mocha's warning
ability to define custom sanitizers for filenames
Adds a FilenameCleaner class

You can either specifiy :restricted_characters or you can define your
own :filename_cleaner object. This object needs to respond to #call and
takes the filename that will be cleaned. It should return the cleaned
filenme.
Documentation for filename_cleaner
added handler for (base64) data URIs
Refactor DataUriAdapter a little
Updated the NEWS for v3.5.0
Version 3.5.0
Specify MIT license in the gemspec
Change Paperclip::Tasks::Attachment to Paperclip::AttachmentRegistry
Return to full green with Rails 3
Reintroduce attachment_definitions
Test for .attachment_definitions
Try matching uploaded file type before defaulting to first official one

and memoize type_from_file_command
Add test for inferring content type from uploaded file

Added the sample .mp4 file from Apple's QuickTime sample page:
http://support.apple.com/kb/ht1425
Add documentation of content-type detection strategy

Also refactored to make the strategy hierarchy clearer
Improve content type detector tests and logic
Remove unnecessary memoization from content type detector
Prefer the intersection of file command and MIME::Types
Merge branch 'master' of https://github.com/thoughtbot/paperclip

Conflicts:
	lib/paperclip/io_adapters/data_uri_adapter.rb