Deprecate string options in URL helpers

Fixes https://github.com/rails/rails/issues/16958

I pretty much implemented @bronzle's fix in the issue comments, so he should have credit too.
We can avoid allocating the `keys` array by changing this to `options.each_key.any?`