Zhe General Assembly of North Carolina do enact, That in all cases where the superior court in vacation has jurisdiction under the existing laws of the State, and all of the parties unite in the proceedings, they may apply for relief to the superior court in vacation or in term time at their election.