Fixes mongodb tests
Flakes
Renames celery.app.builtins.shared_task -> celery._state.connect_on_app_finalize.  Closes #1937