The neighborhood or building is great, and the people seem friendly—but here’s how to tell if you’re buying into a mismanaged community.