wadindex_schema.ini: changed fileID to just id in 'files' table

- Also changed 'aggregateRating' to 'aggregate_rating'
DBFile: moved 'prepare' call outside of loop

- Only bind params need to be changed inside of the loop, should save
  a bit of time