remove commented code
remove unused label
remove unused code
%data_source_for_class doesn't need to be checked

%data_source_for_class doesn't need to be checked because
%classes_to_prune is built up from it.
%classes_to_prune is not even needed

%classes_to_prune was counting objects removed for each class but was
never used so just use %data_source_for_class instead.
revert to stepping through object cache in 10 chronological passes

It looks like the previous code was accidentally commited and probably
had unintended affects.  This more-or-less reverts to an earlier version
that passes through the cache 10 times with each pass looking at more
newly retrieved objects.

This also fixes an issue where the last chunk of serials was skipped.
add is_prunable
add is_weakened
add is_strengthened
use is_prunable

Note that weakened objects no longer get targetted on first pass
(regardless of __get_serial).
filter out objects from report that won't be prunable
Merge pull request #24 from nnutter/master

fix prune_object_cache skipping last block of serials
Merge branch 'master' into autounload
Move is_prunable() to UR::Object and use accessors

Change-Id: Idfa0624557d209567333a07f021a23ac9ed80d27
Use the new is_prunable() as the test for adding to the pool

Change-Id: I8030eef55f1fc908dd033f4e7d4615aacfe573e3
Avoid false-positive by checking if is loaded first

Change-Id: Ib8ac253c09fe112cc35dde61208f0a8d3b0111d4