change search.php and index_form to query mysql

Instead of accessing an array, search.php selects all fields the MySQL
entry in the representatives table for each govtrack id passed by
getReps(). I sent over an array containing the contents of all fields to
index_form.php, and print them out. I also changed the index_form code
so that it is scalable