Add `augroup` guards around autocommands

Fixes #308