Resolve root URI for `trust_root` option

Example:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :open_id, trust_root: proc{|root_uri| "#{root_uri}sessions/"}
end