Use ResolutionResult to detect previously unresolved pkgs
Replace JQuery sorting with DB sorting

Prerequisite for working pagination
Fix retiring packages
Adjust priority values to rebuild more often