Disputes between neighbors can be settled in court, but that can be expensive, time-consuming and bad for relationships.