A dispute over whether an indictment will stand against former FBI Director James Comey has put attention on grand juries and how they work in U.S. federal courts.