Add post-app and post-cmd parsing validation hooks.

Fixes #15.