Changed Mailer to PHPMailer
Updated database to allow for SQL queries to be executed
Fixed a bug in localisation where strings loaded from .html files wouldn't have {{variables}} replaced