Fix issue 9960 Show warnings/deprecations during template instantiation

http://d.puremagic.com/issues/show_bug.cgi?id=9960

This fix allows you to fix issues in templates. Without the fix, specifying "-de" on the command line will silently drop templates from being instantiated, resulting in either the application of a different template, or a fatal template instantiation error.