Display notice in index.html pages in scaffolded generated views

For more information see https://github.com/rails/rails/pull/14044
And https://github.com/rails/jbuilder/pull/191