Issue 1784: Catch template parsing errors and show useful message.
Merge pull request #69 from hssm/Issue1784

Issue 1784: Catch template parsing errors and show useful message.
Merge branch 'v2.1-dev' into feature-ospalh-special