Helps onSessionEnd with missing Application scope

This may not be mergable perfect code, this is an idea of how to resolve an issue on the Mura email list.
Merge pull request #1555 from cameroncf/patch-4

Thank you kind sir!
Merge branch 'master' of github.com:blueriver/MuraCMS
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'