To what extent was the american revolution a social revolution in matters of gender equality, race relations, and religious freedom?