Added email content subtype config setting.
Added code to switch between html and text emails sent from models
classes.
Moved views to use EMAIL_CONTENT_SUBTYPE setting.