Corporate funders and small groups of ideologues have come to wield huge influence from Westminster to Washington. Peter Geoghegan details how dark money has corrupted democratic mechanisms