Merged r5330 from trunk.
Merged r5265 from trunk.
Fixed: selected modules are not activated when copying a project (#8244).
Merged r5215 from trunk.
Merged r5300 from trunk.
Merged r5232 from trunk.
Merged r5214 from trunk.
Merged r5186 from trunk.
Merged r5185 from trunk.
Merged r5157 from trunk.