Refactor attach.tilde to tilde.expand and remove the tilde expansion
duplication.
Add the logic to copy system templates to a directory specified by the
user and update the templates setting when copied successfully.
Document the tpl copy command, closes #24.