Broken machines, rejected ballots and long lines: voting problems emerge as Americans go to the polls.