Added AnsiProgressHandler

Replaced `\r\n` with `%n`. Tested on OSX and Ubunutu.