Tweaks to app.php
Fix #1377
Merge branch 'develop' of github.com:concrete5/concrete5-5.7.0 into develop