CLI: Support a maxErrors option to limit the number of reported errors

- [x] Add info to readme
- [x] Test config version of maxErrors
- [x] Test default value (50) in lib/errors
This test was failing due to the default limit of 50 for maxErrors.