Renamed "onionskins_completed" to "onionskins_assigned"

This improves the accuracy of the function/variable names.
Merge branch 'bug9658_refactor'