Revert "kill stale render_to_response and other functions"

This reverts commit 49d8433dfe3a3bd9366901cf8c2d8d6500e29db5.
add deprecation warning to render_to_response