Fix issue #33: Ability to customize handling of ignored, rejected and error records

This pull request is to fix issue #33:
Ability to customize handling of ignored, rejected and error records