Régimen municipal de Vich anterior al Decreto de Nueva Planta 889-1716