Implement issue #1004: Ability to halt on warning/notice.
Merged pull request #94