Version 3 of the "no-loss" lottery protocol will allow people to build their own lottery games—and change the rules.