How to Design an Outcome Resolution System in Prediction Markets