Chris Hughes on turning The New Republic magazine into a technology company that adapts to readers