added information about clear_datastore flag in templates

Also fixed documentation on keyname/group flags