Flurry of Lawsuits Shows Both Parties Preparing for Post-Election Challenges