Return abort method
Merge pull request #6494 from joecohens/fix/app-abort

[5.0] Restore abort method on Foundation/Application