Replace the index_create_statements.rb script

The add_index_statements.rb script relies on ActiveRecord instead of raw
SQL, and is easier to use with omnibus-gitlab.