Advanced application template now uses mailer component instead of mail() function

Conflicts:

	frontend/controllers/SiteController.php
Used full method names when sending email in advanced app

Conflicts:

	frontend/controllers/SiteController.php