The general assembly shall determine, by law, before what authority, and in what manner, the trial of contested elections shall be conducted.