Understanding the wires, circuits, and more in your home can help you make safer repairs and upgrades. Here's all you need to know for DIY electrical work.