Was the amercian revolution a war or revolution?