Move definitions to specific header.
Move priorities management to pkg_universe.
Move more code.
Split universe handling function.
Fix jobs processing.
Add find utilities.
Rework candidates selection.
Fix cudf module.
Rework conflicts.
Rename pkg_conflicts as it is jobs part.
More rework.
Fixes for jobs code.
Refactor names.
Return an error if failure were found, this fixes periodic script not sending mail

Reported by:	wblock
Fix progress bars when not in a tty to give output
Ignore sigpipe to avoid resources leak.
Read lock is now no-op unles READ_LOCK option is turned on.
Refactor update.
EORDER.
Fix incremental repo updates.

Insert should be accompanied with `OR REPLACE` for packages since we
want to upgrade packages information in repo.