In case of failure parsing pkg.conf give a more informative message
Sync from libucl
Fix case insensitive options
Block sigalarm when reading passphrase.
Install back zsh completion as _zsh to please most users
Reorganize pkg_add slightly.
Fix upgrade.
Forgot to add.
Add missing includes.
Ensure script for local package are loaded during an upgrade/reinstallation
Initialise return value
Add fix from libucl.
Yet more fixes from libucl
Install periodic scripts with executable  bit
Merge pull request #881 from andrejzverev/issue879

Install periodic scripts with executable  bit
Speed up a bit port version by caching directory subdir
Preserve automatic flag on forced reinstall.

Issue:	#884
Do not ignore the last entry from SUBDIR
Speed up a bit more pkg version by not spawning useless sh
Fix memory corruption when using pkg files.