Added autorestart agent flag to config template and default attrbutes file.
wrap autorestart config flag in template

Prevent a line being written, when the default is false. Refs #85