Recent elections in the UK and France show how tech could impact US elections.