add server side template validation for time channels, and fixed bug where old raise exception was used
change string "panel" -> "template"
several client side validation improvements for template app, as well as displaying server side save errors to the user