Added require.app.
Fixed .app() waiting for incorrect module name & did not return require object.
Merge commit '79cacb7230f8110bd2f2bf2da495609256ef313e' into 3.1