Only render the class attribute if 'body_class' is defined

otherwise you'll always have <body class=""> in the markup...