Move detect_encoding? and encoding_for to provider.rb

And revert removing gcs example at README.md