Error if user has already been invited

closes #3681
Merge pull request #3708 from felixrieseberg/iss3681-2

Error if user has already been invited
Updating Casper to latest
Version bump to 0.5.0-rc3