All debts, contracts, and obligations heretofore made or incurred by or in favor of any such water district, local improvement district, or utility local improvement district, and all bonds or other obligations executed by such districts in connection with or in pursuance of such attempted organization, and any and all assessments or levies, and all other things and proceedings done or taken by such districts or by their respective officers acting under or in pursuance of such attempted organization, are hereby declared legal and valid and of full force and effect.