Changing the structure of the encrypting file

* Removing adv_attr_accessor as it's deprecated
  and not sure how this works at all with rails 3.
* Making the mailer use a x509_settings hash instead
  of all the seperate attr_accessor calls.
* Simplifying all the method calls
* Adding ability to sign with a ca_cert