Costly Actions, External Incentives and Prediction Markets