pacinfo: setup log callback
pacinfo: setup log callback

If called with a URL alpm may need to pass important messages to
pacinfo.

Signed-off-by: Andrew Gregory <13115e38efea9b5bf08524f6765f5bb44291d47f@gmail.com>

andrewgregory/pacutils,andrewgregory/pacutils