Reviled in his own time, Alexander Hamilton set America on a course for greatness as the first secretary of the treasury.