*: reorganise indexation methods

02011d8e (immediateReindexObject: use super user to reindex script,
2015-12-14) did not apply for inventory, because they were overloading
immediateReindexObject.
Introduce a new level, _immediateReindexObject that will hold the actual
reindexing logic.

Previously this method was using PortalContent.reindexObject which was
monkey patched, to make things less complex and more future proof, move
the monkey patch to a method on base class.

This also drops alternateReindexObject on BalanceTransaction, because it
is already defined in Inventory
12 jobs for fix/immediateReindexObject_super_user in 0 seconds (queued for 1 second)
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

01:54:47

passed ERP5.PerformanceTest-TestRunner1

00:26:35

failed ERP5.UnitTest-TestRunner1

03:01:07

passed ERP5.CodingStyleTest-TestRunner1

01:32:03

passed ERP5.CodingStyleTest-TestRunner1

00:41:02

passed ERP5.PerformanceTest-TestRunner1

00:26:51

passed ERP5.PerformanceTest-TestRunner1

00:26:34

failed ERP5.UnitTest-TestRunner1

01:24:58

failed ERP5.UnitTest-TestRunner1

01:37:32

canceled ERP5.UnitTest-TestRunner1

failed ERP5.UnitTest-TestRunner1

01:39:06

canceled ERP5.UnitTest-TestRunner1

02:06:26