Added phpmailer, redis to sql, ..

Since mail() doesn't support auth, etc. using phpmailer instead.
Redis will cache 'options' table. Time may be increased, thinking about
that..
Since phpmailer doesn't use the namespace as 'we' do.. included the
namespace tag and changed the filenames.