Add per root folder class on <body>

Code inspired from previous cpskin.theme code
This refs affinitic #5794