Multiple major changes

- add Preferences class
- fix advertisement issue
- fix 403 ehandler issue
- add sendmail.php comment
- remove preferences stuff from user.php
- convert header.php and index.php to the new Preferences class
replace view.php with an OOP-based Message