Replace stop_at_eof boolean with EofBehavior, add support for restarting from beginning
Resolves swh-loader-metadata#2 (closed) (by making it configurable, with no code change in swh-loader-metadata)
This MR should be reviewed commit-per-commit
Edited by vlorentz