[TIMOB-15866] Fixed bug with Ti.App namespace not properly being created.
Merge pull request #5056 from cb1kenobi/timob-15866

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