Added support for max-job-history

For #25