Grant failed at php type affinity
sorts group names
adds email notifications
Merge branch 'master' of github.com:ddmnet/App-Deploy-Server
Merge pull request #6 from grantj-teamddm/master

Various updates like email notifications, group sorting and stuff