[TIMOB-12722] Moved the app.js validation after the build.pre.compile hook is fired so that plugins like Alloy can generate it.
Merge pull request #3929 from cb1kenobi/timob-12722

[TIMOB-12722] Moved the app.js validation after the build.pre.compile ho...