Print more info from Jinja2 syntax errors.

Close #1203 

@matthewrmshin - please review.