Define OSMAJOR as the OS major version, and add it to CFLAGS when
compiling libpkg sources.

Add new function: bool pkg_compiled_for_same_os_major(void) -- detect
when pkg(8) is running on a different OS major version than what it
was compiled for (presumably as a consequence of system upgrade)

Add INDEXDIR and INDEXFILE config file values to parallel the usage in
${PORTSDIR}/Makefile etc.  These are respectively the directory to
search for the ports index in (if undefined, defaults to the value of
PORTSDIR) and the filename of the index -- default INDEX-N where N is
the OS major version.
Fix typo.
Add some helpful advice for people doing major version upgrades.
Merge branch 'master' into indexfile
Merge branch 'master' into indexfile

Conflicts:
	libpkg/Makefile
	libpkg/pkg.h.in
	libpkg/pkg_config.c
Get the OS Major version we're being compiled under from the
__FreeBSD__ or __DragonFly__ macro built into cc.  Default to using
the ports INDEX as during our compilation, but warn when that does not
match the runtime OS major version -- ie. we're in the middle of an OS
upgrade.
Add a flag to indicate processing a named INDEX file from the command
line -- backwards compatibility with pkg_version, and also to make
'pkg version' do what the man page says it does...
Print debug in some problematic solver's states.
Add types for conflicts.
Use conflict types for solver.
Add some debug for solver.
Place remove jobs before installing.
Disable remote packages detection in universe.

Since we do this job in find_remote_pkg we should avoid doing it in
universe handling since we can easily skip adding that packages to
a request.
Rework priorities and upgrade split logic.
Release 1.3.0.a5
Switch to recursive deletion by default.
Remove dead code.
Set reason for deleted packages.
Show reason for deleted packages.
Fix displayed spelling.