#1208864 patch by Damien Tournoud: API change: extended entity_view() to allow the caller to set the 'page' flag when rendering an entity.