[#29875] fixed body tag output in Protostar for layout, task, itemid classes when not applicable

Protostar classes layout and task output incomplete if not layout or task. If no layout or task assigned, outputs: layout- and task- respectively. Also outputs itemid- on views that are not a menu item.

Added if/else to output 'layout-' or if not available 'no-layout'. Same for 'task-'. For itemid, if not a menu item, itemid- should not show up.

``<body class="site <?php echo $option . " view-" . $view . ($layout ? " layout-" . $layout : " no-layout") . ($task ? " task-" . $task : " no-task") . ($itemid ? " itemid-" . $itemid : ""); ?> <?php if ($this->params->get('fluidContainer')) { echo "fluid"; } ?>">``

Tracker item created at: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29858