WIP: Initial step toward !1792
Backport of MRs: !1261 (merged) !1260 (merged) !1179 (merged) !1165 (merged) !1166 (merged) !1148 (merged) !1114 (merged) !1107 (merged) !1090 (merged) !1068 (merged) !1067 (merged) !1058 (merged) !1057 (merged) !925 (merged) !1037 (merged) !992 (merged) !505 (merged) !331 (merged) !326 (merged) !449 (merged) !614 (merged) !492 (merged) !480 (merged) !413 (merged) !274 (merged)
These MR is still compatible with Gaudi v29-patches + gcc62.