Logger: Add progress bar
When we reverse the offsets, we might need to wait a long time. Therefore a progress bar is a nice feature to provide.
This implements #738 (closed) and is dependent on !1265 (merged).
@pdraper Can you take a quick look at the function: tools_print_progress_bar
(especially the part where I am getting the terminal size) and tell me if you see some function calls that we should avoid please? Thanks!
Edited by Loic Hausammann