Fix link_to with block and url_hash

Use link_to with block and url_hash, expect block as name.
But ignore block and use url_hash as name.
3-2-stable passes this test. 4-0-stable and master fail this.
Include block in a argument shift
Fix "Stack Level Too Deep" error when rendering recursive partials

When rendering recursive partial Action View is trying to generate the
view digest infinitly causing a stack level error.

Fixes #11340
Merge pull request #11348 from sanemat/fix/link-to-block

Fix actionview link_to with block and url_hash
Add CHANGELOG entry for #11348