Album viewing and creation works again

- Updated PHPMailer
- Switched from mysqli to PDO
- Moved more to classes
- Changed configfiles
- Setup will now read values from existing configfiles (not passwords)
- Can create sharingcodes for albums
- Mostly functional
Revert "Album viewing and creation works again"

This reverts commit 120eddfbf6c63f5750704a2caa3196b2091219b5.