The Massachusetts Appeals Court has sided with the owner of a Haverhill marijuana store in a decision that will allow the dispensary’s lawsuit against its neighbors to move forward.