Fix install conflicting.
Reorder functions (no func. changes).
Reprocess queue in case of upgrade conflicts.
Fix installation message.
Fix pkg-check locking.

Reported by: Eugene Grossbein
Improve locking in pkg-install.

Use read only lock in case of fetch only or dry run.

Reported by: Eugene Grossbein
Remove crappy debug.
Fix output of conflicst checking.
Improve locking for pkg-upgrade.

Reported by: Eugene Grossbein
Fix install/delete order.

Reported by: az