libraries/display_indexes.lib.php file added. HTML generation for the create/edit indexes form into display_indexes.lib.php
libraries/sql.lib.php file added. Functions in the sql.php transfered into sql.lib.php