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.