(a)???A person committed by any judge of this State, a justice of the peace, or by the mayor or any alderperson of any city or town, for a contempt, except a contempt issued by the Family Court in a case involving a child support order, shall be entitled to the writ of habeas corpus in the Superior Court.