Update documentation for pkg lock now it is possible to use 'pkg lock
-l' stand-alone, and without needing privileged pkgdb access.
Merge branch 'release-1.3' of github.com:freebsd/pkg into release-1.3
Allow running 'pkg lock -l' without specifying any packages to lock
and hence without needing privileged access to the DB.

Free some variables used when listing the locked packages

Some whitespace cleanup

This makes pkg actually behave according to the intent expressed in
issue #635

Conflicts:
	src/lock.c
Update documentation for pkg lock now it is possible to use 'pkg lock
-l' stand-alone, and without needing privileged pkgdb access.