Prediction markets are becoming mainstream, bringing gambling risks and a novel source of political information to public life.