Knowing the law is half the battle in California neighbor disputes, here are some ways to make sure you don't find yourself in one.