republicanism definition apush