add course invitations
remove duplication
improve test coverage and ..
extend courses to have attending_invitation for easy access
remove left over controller
Merge pull request #17 from codebar/course-emails-and-other

Course emails and other