"SEC. 17. The Supreme Court shall have original jurisdiction to issue writs of mandamus, certiorari, prohibition, habeas corpus and quo warranto in the cases and in the manner prescribed in the Code of Civil Procedure, and to hear and determine the controversies thus brought before it, and in other cases provided by law."