Technology has changed the way Americans communicate, shop and work. Now it's working its way into electoral politics.