fix scopes, invitation_not_accepted was selecting registered users
add active scope, fixes #299
Merge branch 'master' into rails4