Bug 931186 - Dirt simple token bucket class. r=ekr