#541 Implemented new template processing methods for battery templates.  Updated survey template method and associated server side controllers. Wired up the welcome and completion messages for assessments to come from the rendering of the corresponding template types (this was a rework from #585 which did not use templates). Updated error logic which was not using established team conventions. Updated assessment engine ajax calls which pull welcome and completion messages.