Don't blow up on test failures in `test-ns-hook`.

Fixes #1201.
Replace bare println with main/info calls.
Use EPL 1.0 or later in new project templates.