changed error reporting and some file path logic

Wanted to make one more change regarding glob resolution. I may be wrong about this, as I'm new to gulp plugins, but this made an error disappear for me.
I also forwarded template error messages to the gulp handler, should help people that have template syntax errors.

Thank you!