tasks #7313: refactor Tuleap.php so the file can be worked with

Change-Id: I4acc003ecf62d580876cbb9fa1720e2f3c8cd381
Merge commit 'refs/changes/50/2850/3' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD

* ssh://gerrit.tuleap.net:29418/tuleap:
  tasks #7313: refactor Tuleap.php so the file can be worked with

Change-Id: Ieae73cd1f8962d5c9571344b83cea69d3980c7cd
This is Tuleap 7.3.99.37

Change-Id: Ifc872c2bf08aaca02fbd14cda61775c42f0d2033