[Core,Applications] Minor bugfixes.

* Fixes: Applications do not set dateModified upon saving.
* Fixes: Undefined variable error in NewApplication-Email.
Merge branch 'hotfix/0.4.2'