Olympic contest to pick IOC president is quirky and controlled by tight campaign and voting rules