-moved some code to new _PackageEntry class so that resorting of variants is avoided
-moved some code to new _PackageEntry class so that resorting of variants is avoided

instinct-vfx/rez,nerdvegas/rez,nerdvegas/rez,instinct-vfx/rez