Betting can be used to predict the future. That's the crazy idea behind prediction markets. Here's how they work and where cryptocurrency fits into the picture.