Implement conversion of scripts
Fixes issue #396.  Make pkg version auto-update repo catalogue by default.
Add -U flag to pkg version to suppress this behaviour.
Fix typo.
D'Oh! -U turns *off* auto_update
Issue #396: Add REPO_AUTOUPDATE config variable, which sets the
default for the -L option to pkg upgrade, pkg install, pkg fetch or
the -U option to pkg version
Add missing commas.
Issue #396: Emit a relevant error message when EUID doesn't have
sufficient privilege to update repo.sqlite and that has been requested
(ie pkg version -R)
Issue #396: Update the usage message for pkg version
Issue #410: handle the case where left-over records are present in the
files table with no corresponding entry in the pkg table.