All debts, contracts, and obligations heretofore made or incurred by or in favor of any such water 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, including by persons acting as commissioners nominated by petition of at least twenty-five percent of the qualified electors of the district, and elected and qualified as otherwise provided by law, acting under or in pursuance of such attempted organization, are hereby declared legal and valid and of full force and effect.