"The preventive function of government, however, is far more liable to be abused, to the prejudice of liberty, than the punitory function; for there is hardly any part of the legitimate freedom of action of a human being which would not admit of being represented, and fairly too, as increasing the facilities for some form or other of delinquency."