Lemon laws are designed to protect you from buying a dud. Here's how they work, what they cover, and how to take advantage of the protection.