Get rid of the simplejson requirement in a bunch of places
Allow mailerDebug option to be omitted
Reverted unintentionally checked in change