Fix up generic-browse-url and add puppet-mode.