As five key states continue to count votes, litigation — and the threat of it — is afoot.