make pkg query returns EX_UNAVAILABLE when no package could be found.

pkg query exists 0 regardless if any package could be found. This patch
ensure to return a non-zero status (EX_UNAVAILABLE) when no package
could be found.
Update document date
rquery: Return EX_UNAVAILABLE to be more consistent with pkg-query
Respect destdir
Fix @exec not respecting @cwd by calling cd(1) before @exec entries

@cwd /
@exec mkdir -pm 0770 var/audit/dist
@exec mkdir -pm 0700 var/audit/remote
@exec chown %%USERS%%:%%GROUPS%% var/audit/dist
@exec chown %%USERS%%:wheel var/audit/remote

scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow audit >/dev/null 2>&1; then  echo "Creating group 'audit' with gid '77'.";  /usr/sbin/pw groupadd audit -g 77; else echo "Using existing group 'audit'."; fi
    if ! /usr/sbin/pw usershow auditdistd >/dev/null 2>&1; then  echo "Creating user 'auditdistd' with uid '78'.";  /usr/sbin/pw useradd auditdistd -u 78 -g 77  -c "Auditdistd unprivileged user" -d /var/empty -s /usr/sbin/nologin;  else echo "Using existing user 'auditdistd'."; fi
    cd /
    mkdir -m 0770 var/audit/dist 2>/dev/null
    mkdir -m 0700 var/audit/remote 2>/dev/null
    chown auditdistd:%25GROUPS var/audit/dist
    chown auditdistd:wheel var/audit/remote
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    cd /usr/local
  pre-deinstall: |

Issue:	#465
Fix @unexec not respecting @cwd by calling cd(1) before @unexec entries

@unexec echo "before @cwd /"
@unexec echo "before @cwd / gtk-update-icon-cache"
@cwd /
@unexec rmdir var/audit/dist 2>/dev/null || true
@unexec rmdir var/audit/remote 2>/dev/null || true
@unexec echo "after @cwd / gtk-update-icon-cache"
@unexec echo "after @cwd /"

scripts:
  pre-deinstall: |
    cd /
    cd /usr/local
    cd /usr/local
    echo "before @cwd /"
    echo "after @cwd /"
    /sbin/ldconfig -R
  post-deinstall: |
    echo "before @cwd / gtk-update-icon-cache"
    cd /
    echo "after @cwd / gtk-update-icon-cache"
    cd /usr/local

Note that the pre-deinstall has the wrong ordering which will
be fixed in the next commit.

Issue:	#465
Fix @unexec not respecting plist order (which breaks @cwd expecations)

@unexec echo "before @cwd /"
@unexec echo "before @cwd / gtk-update-icon-cache"
@cwd /
@unexec rmdir var/audit/dist 2>/dev/null || true
@unexec rmdir var/audit/remote 2>/dev/null || true
@unexec echo "after @cwd / gtk-update-icon-cache"
@unexec echo "after @cwd /"

scripts:
  pre-deinstall: |
    echo "before @cwd /"
    cd /
    echo "after @cwd /"
    /sbin/ldconfig -R
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    echo "before @cwd / gtk-update-icon-cache"
    cd /
    echo "after @cwd / gtk-update-icon-cache"
    cd /usr/local
    cd /usr/local

Issue:	#465
Fix the package has no prefix, first time @cwd it will become the default pkg prefix
pkg-shell.8: Be more specific on why this command should not be used and given hints on other options
install-info --delete should always be run in post-unexec
Revert "install-info --delete should always be run in post-unexec" as
a clean fix is coming to the ports tree

This reverts commit 98790b492d4d00f3270a430e92002aa8e9e8a67f.
Add missing getopt support for 'U' from f406c7b
New Release 1.0.9
Add reminder about pushing tags
Add a hint on how to support tar.xz in git-format-archive
check the return value of sqlite3_column_text() against NULL in get_sql_string()

The return value of sqlite3_column_text() was not checked and passed
directly to strdup() causing a SIGSEV from libc. This patch ensure that
a NULL returned value will not be given to strdup().
Improve consistancy of the "Pattern must not be empty" message.

The same message was used in both search and info but with different
punctuation. While the search message version was more enthusiastic it
seems very unfair for good ol' info.
Bump to 1.0.9_1
Unbreak test compilation

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Convert tests (quick & dirty) to ATF