Autotuned_index now prints all info into logger instead of couting it.
Changed ostringstream to ostream for new print_params and added the old
version of print_params for backwards compatibility.
Merge pull request #2692 from 1Hyena:2.4