Serialize Template as a string, not a uid

Despite the existance of a ->TemplateObj method on Scrips, the Template
column now stores the template by name, not by id.  RT::Record, however,
see the ->TemplateObj method and assumes it needs to be stored by UID in
the serialized form; unfor this, and store the name.