Add check to soil_body_class function to avoid duplicating page slug

This PR adds a check in soil_body_class to avoid possible duplication of page slug in body_class array.