Looking to buy in a community with an HOA? Here’s what you need to know about your membership options.