Better error handling

Emit errors in dataset classes.  Log errors and set exit code in
scraper command.