* INCR-129: Run python-modernize on common/djangoapps/entitlements/management
* isort
* INCR-129: Run python-modernize on common/djangoapps/entitlements/tests
* isort
The expire_old_entitlements management command was passing a
Paginator object to celery, which it can't serialize when it is
running async. Instead, we'll do the pagination manually inside the
task code and simply pass it integers.
This new management command will search for possible entitlements
that are languishing in the database and expire them if they can
be according to our policy.
This is meant to be run on a regular basis to clear out old
entitlements.
LEARNER-3087