Fix bug in scanner's next_line function

The line's current position variable wasn't being reset to zero
before every to fgets, causing lines to be scanned starting from the
old position.
Add details to README