Add example showing how to convert a view variable to a block.

Refs cakephp/cakephp#4973
[fr] how to convert a view variable to a block
Merge pull request #1913 from cakephp/issue-4973

Add example showing how to convert a view variable to a block.