Prediction markets are no longer a curiosity at the edge of gambling. They are becoming a serious technology proposition, with companies building the infrastructure to let operators offer markets on sport, politics, economics, technology and culture.