Add line number to Jinja errors, Fix #4966

Thanks to @Mrten to figuring this one out.  =)
Clean up the error message
Merge pull request #5240 from basepi/jinjaerrors4966

Add line number to Jinja errors, Fix #4966