In 2011, a tiny Spanish town named Grañén on the brink of financial ruin bet on the world's biggest lottery and won.