Refactor: RSVP: Move email stuff into own file

Move the RSVP email stuff into the rsvp/lib folder.
Refactor: RSVP: Move database stuff into own file

... into /rsvp/lib/database.js