Elections are becoming more expensive as candidates vie for voters' attention. But there are strict rules about how money is raised, how it can be used and how to prove you're following the laws.