Merge Invites branch and resolve conflicts

* Batch invites
* CSV invites import
* More controls on the students invites
  * Force resend invite
  * Send pending invites only
* Add sent field to StudentInvite