The superior court in the exercise of its jurisdiction in matters of this kind shall have full authority to determine the indebtedness of the district and to determine the status and priorities thereof in accordance with the laws of the state relating to irrigation districts, shall have power to apportion the obligation of such indebtedness against the district and the several lands included therein; the court may award process and cause to come before it all persons whom it may deem necessary to examine and have and cause to be issued all such writs as may be proper or necessary, and do all things proper or incidental to the exercise of such jurisdiction.