[4.2] Foundation : intend $app->booted code

See PR title