bundle_adjust: Refactoring
Common.cc: Ensure that opt.num_threads and vw_settings.num_threads are in sync