[TIMOB-15840] Fixed error when the tiapp.xml does not contain a <modules> tag.
Merge pull request #5050 from cb1kenobi/timob-15840_3_2_X

[TIMOB-15840] Fixed error when the tiapp.xml does not contain a <modules> tag.
[TIMOB-15866] Fixed bug with Ti.App namespace not properly being created.
Merge pull request #5057 from cb1kenobi/timob-15866_3_2_X

[TIMOB-15866] Fixed bug with Ti.App namespace not properly being created.