Employing ATF more correctly:

- use Atffiles to run tests.
- Basic testing is to run 'atf-run | atf-report'
- Only use Makefiles where necessary to build test programs
- As tests are run in a temporary dir, use atf_get_srcdir() liberally
  to make absolute paths
- Temporarily disable testing in lib: needs more work
Use hash instead of SLIST for versions check.

Use hash table instead of SLIST for storing INDEX file entries whilst
performing version check agains ports tree INDEX file. That speed up
version compare for each installed package.
Add all known verbs to the pkg.8 man page, except 'pkg ssh' because
that's only just been added and is nowhere near ready for prime-time
yet.
Fix spelling
.Ar <foo> is bad style.  Just use .Ar foo
.Ar <foo> bad, .Ar foo good
.Ar <foo> bad, .Ar foo good
.Ar <foo> bad, .Ar foo good
Fix a variety of mandoc nits
Only print once a bad abi during pkg update

Reported by:	tuxillo (#dragonflybsd on efnet)
Remove useless operator.

Dereferencing operator is useless in *ptr++ if result is unused,
hence remove confusing operator and type conversion.
Merge pull request #488 from grimreaper/master

Fix a variety of mdoc nits
Fix pkg create
Try to create db directory is MODE_WRITE is activated and it doesn't yet
exists
Fix .pkgconf handling
Implement pkg audit -q
For reinstallation of a package is the required dependencies has change.

Testing the list of dependency origin between installed and remote
allows us to catch default version of perl/postgresql/mysql/etc change.

Waiting for new solver that reduce number of manual user interaction
Avoid double copying while unpacking manifest.

libarchive allows zero-copy methods to unpack data by blocks, it
is useful thus to use archive_read_data_block instead of
archive_read_data as we perform sbuf copying anyway.
Fix dependency origin comparison commit
Remove the shlib options as the is now always used