Safer, more defensive, template/view name for body class via duck typing.

Fixes conflict with <body> class attribute improvement in TinyMCE.

See comment on plone/Products.TinyMCE@1c0b89ee3556b1f42e932129058c2392275e896b