add button content tag to button_to with block, fixes #1772

This PR fixes #1772 respecting application with the old behavior and adding a warning for it.
Removing the deprecation would shrink the code significantly.