A HELOC is a revolving line of credit secured by your home equity. Here is how they work, what they cost, and when they make more sense than a cash-out refinance.