Essays on Incentives, Moral Hazard and Optimal Policy