§ 8.   Right to bail--Habeas corpus. All persons shall be bailable by sufficient sureties, except for capital offenses when proof is evident or presumption great. The privilege of the writ of habeas corpus shall not be suspended unless, when in case of rebellion or invasion, the public safety may require it.