MiniMagick: Use either X resize or Y resize option

Resolves issue 694 on GitHub.

Rather than supplying a full resize cmd in the
resize_to_fill filter, eg "80x49", use either an X resize "80" or a Y
resize "x49" command, whichever is larger
Add :read option to manipulate!
Add binary/octet-stream as generic mime type.
Fix SanitizedFile#to_file on Windows (binary mode)

File.open(path) opens a file in text mode by default.  This is fine on *nix,
but on Windows, CRLF sequences get converted to LF (or vice versa), which
breaks storage backends that use to_file (e.g. CarrierWave::Storage::Fog) when
you try to attach binary files to a model.
Parse and pass fog_host option to ::Fog::Storage
Fixed an issue when parsing URL w/o schema.
Added test for URL w/o schema.
Merge pull request #754 from xtreme-tanzeeb-khalili/read-options

Add :read option to manipulate!
Removed unnecessary present? method from ActiveSupport
Merge pull request #769 from snoopie/master

Parse & pass fog_host config option to ::Fog::Storage constructor
Add Code Climate badge
Merge pull request #774 from brynary/master

Add Code Climate badge to CarrierWave
Revert "Add Code Climate badge"

This reverts commit 6b0de193abd98fd08d22e09c0c59739098ae73bc.
Revert "Revert "Add Code Climate badge""

This reverts commit e5cca01cc8d057fcd381bbe1024e82bdc388b306.
failing spec for TypeError: can't convert File into String
Merge branch 'master' of https://github.com/jnicklas/carrierwave
Merge pull request #766 from dlitz/for-upstream

Fix SanitizedFile#to_file on Windows (binary mode)
Merge pull request #761 from phiggins/expand_generic_mime_types

Add binary/octet-stream as generic mime type.
FIX inconsistence in file API

Not sure if doing it right, but this commit intends to fix an inconsistency
in file access API.

We use an WorkFileUploader, inheriting from CarrierWave::Uploader::Base, mounted
in a mongo model.

On production, CarrierWave is configured to use fog as storage ; on
development env, we use the file storage.

This works as expected on dev env :

```ruby
model.work_file.file.filename # => 'document_name.ext'
```

`model.work_file.file` is a CarrierWave::SanitizedFile, in that env.

But on production env, it is a `CarrierWave::Storage::Fog::File`, which
has no `#filename` method.
Rspec changed something that makes specs fail, go back to ~> 2.10.0 for now