Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.