How a tiny, impoverished Indian tribe managed to persuade a city, a powerful union, and the U.S. Congress to let them build a Nevada-style casino in the East Bay