Update views.rst, deprecation of $title_for_layout

Added note on deprecation of $title_for_layout as described in 2.5 migration guide
Merge pull request #1717 from mstra001/patch-1

Update views.rst, deprecation of $title_for_layout