Email notification rendering, bugfixes

 - Full notification and testing of rendering for notifications
 - Fix for short URLs' long paths when using "/" as the application path
 - Fix for viewing "join group" page for non-existent group