Legislation in the nation's capital would make online casinos and poker legal, while sweepstakes casinos would be banned.