*: 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
17 jobs for feat/ckeditor-up in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:10:22

passed ERP5.PerformanceTest-Master

00:26:45

failed ERP5.UnitTest-Master

02:13:51

failed ERP5.UnitTest-Master.Medusa

02:57:29

passed SlapOS.Eggs.UnitTest-Master.Python2

00:23:55

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:14

passed ERP5.CodingStyleTest-Master

00:38:44

passed ERP5.CodingStyleTest-Master

00:32:56

failed ERP5.PerformanceTest-Master

00:27:20

failed ERP5.PerformanceTest-Master

00:27:06

failed ERP5.UnitTest-Master

01:42:19

failed ERP5.UnitTest-Master

01:46:07

failed ERP5.UnitTest-Master.Medusa

01:59:34

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:43

passed SlapOS.Eggs.UnitTest-Master.Python2

00:20:52

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:19

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:06