Print more info from Jinja2 exceptions

Close #1203 
Close #395

@matthewrmshin - please review.