tagattr: hook config

- added config hook so option changes will be applied without having to
  reload the script.

- free option infolist after finish scanning tags in config