Add post and body classes
Tweak return value names for consistency
Add is_singular check and class
Merge pull request #2419 from ghost1227/issue/2352

Add post and body classes