Themes: Add additional later escaping to post_class() and body_class() functions.
post_class()
body_class()
Additionally, this adds a few tests to test output.
Fixes #20009.
Props mfields, scribu, azaozz, obenland, dd32, nacin, jrf, jdgrimes, garyj, whyisjake.